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...


How to rename files and folders?

Answers were Sorted based on User's Feedback



How to rename files and folders?..

Answer / shami.r

mv filename newfilename

Is This Answer Correct ?    130 Yes 10 No

How to rename files and folders?..

Answer / mahfooz

mv file/folder newfile/newfolder

Is This Answer Correct ?    31 Yes 8 No

How to rename files and folders?..

Answer / shiva

mv <old filename> <new filename>

mv <old foldername> <new foldername>

Is This Answer Correct ?    22 Yes 5 No

How to rename files and folders?..

Answer / siva

example:
if u wanna convert "old" into "new"
then....

command:

rename old new old


hint:
type ur "new name" between "old name".

Is This Answer Correct ?    14 Yes 6 No

How to rename files and folders?..

Answer / n k reddy

mv oldfilename newfilename

Is This Answer Correct ?    1 Yes 0 No

How to rename files and folders?..

Answer / rahul rai

$:>cat > first
this is my first file.
my name is rahul rai.
i am doing MCA.

To rename file "first" with the name "second" we can use
the following command .

$:>rename first second first

$:>cat second
this is my first file.
my name is rahul rai.
i am doing MCA.

Is This Answer Correct ?    5 Yes 7 No

How to rename files and folders?..

Answer / murali

also we can use this command

"rn file1 file1"

Murali
dharanmu@yahoo.com

Is This Answer Correct ?    17 Yes 82 No

Post New Answer

More Unix Commands Interview Questions

what does the job command do?

4 Answers  


distinguish between physical addresses and logical address?

3 Answers   Infosys,


Can you write a command to erase all files in the current directory including all its sub-directories?

1 Answers  


How do I run a whois command?

0 Answers  


What is the command to find maximum memory taking process on the server?

0 Answers  


How do I delete files from command prompt?

0 Answers  


How to setup sudo, only can use for particular date & time only ( for solaris10 )

1 Answers   ups,


why unix commands can be divided into internal and external commands?

3 Answers   Informatica,


how many types of file in unix?

34 Answers   MNC, TCS,


Name the various commands that are used for the user information in unix.

0 Answers  


what is shell?

5 Answers  


Is ‘du’ a command? If so, what is its use?

0 Answers  


Categories