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 do you save a file in linux?

1145


What does comm do and how to use it?

1027


What does sh do in linux?

985


How do I run a bash script in linux?

1014


Brief about the command nn?

1044


What make install does?

958


What is the command to check cpu speed in linux?

1031


How often do you use grep command and how in Linux operating system?

1139


How do I check my cpu speed?

1068


What does grep grep do?

937


How do I search bash history?

894


How do I test my cpu speed?

985


How do I run a shell script?

989


How does mkdir work in linux?

1240


What does curl command do in linux?

1087