Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

in unix how to change old name to new name

Answer Posted / javed

mv <oldfilename> <newfilename>

eg:-
[root@localhost]# touch file1 //created a file named file1
[root@localhost]# ls //displays the file created
file1
[root@localhost]# mv file1 file2 //command to rename file1
[root@localhost]# ls //displays the renamed file
file2

Is This Answer Correct ?    14 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many types of dos commands are there?

1192


How many cmd commands are there?

1056


How many interfaces(ethernet cards) are working using single command?

1077


How do you check which file consuming more space in linux?

1074


What does execute mean in linux?

1138


What is a make target?

1001


How do I open a text file in cmd?

1091


Which command reduces the size of a file?

1250


How do I start ms dos?

991


What language is clang written in?

955


What does sh do in linux?

1024


What is mask and umask in linux?

1058


Who command in linux?

1071


How do I clear my run history?

1124


Explain the free command.

1062