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?

1137


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

1016


What is 9 in kill?

985


How do you sort cpu in top command?

1089


What are grep commands?

1056


How do I find hostname in linux?

1092


How do I check if my cpu is overclocked?

1048


How can I type in cmd?

930


Who linux commands?

1070


What is cd command used for?

1082


Brief about the command ff?

1088


The ‘logout’ built in command is used to

1273


In order to improve your system’s security you decide to implement shadow passwords. What command should you use?

945


What is the command to see on which port which service is running? And what is the difference between /etc/services file and net stat command?

1002


What are two functions the move mv command can carry out?

1085