Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


in unix how to change old name to new name

Answers were Sorted based on User's Feedback



in unix how to change old name to new name..

Answer / anil.gaurav

mv Command:

Use this command to change the name of file and
directories.

% mv foo foobar

The file that was named foo is now named foobar

Is This Answer Correct ?    9 Yes 0 No

in unix how to change old name to new name..

Answer / v.balaviswanathan

$ mv name1.txt name2.txt

Where name1 is the old name

name2 is the new name

Is This Answer Correct ?    4 Yes 0 No

in unix how to change old name to new name..

Answer / saeed

mv oldfliename newfilename

Is This Answer Correct ?    2 Yes 0 No

in unix how to change old name to new name..

Answer / k.v.ramayya

one file and directory is moove one place to another places
and drectories in any places

Is This Answer Correct ?    1 Yes 1 No

in unix how to change old name to new name..

Answer / ravi prakash

for renaming in red hat linux

command is

for example we have to rename folder Hello to Hi

then command is

$ rename Hello hi Hello

so by this Hello rename to hi..

Is This Answer Correct ?    0 Yes 0 No

in unix how to change old name to new name..

Answer / jaswant

#mv oldname newname

or
#ren oldname newname

Is This Answer Correct ?    0 Yes 0 No

in unix how to change old name to new name..

Answer / redhadon

I think we should use the following command

#ren <oldname path> <newnamepath>

eg

#ren Desktop/file1 file2

{ here we change the old name FILE1 to new name FILE2

Is This Answer Correct ?    2 Yes 4 No

Post New Answer



More Linux Commands Interview Questions

1.what is Kernel parameters? 2.how many cpu have use in your machine?

3 Answers   ConSim,


How do I know my shell?

0 Answers  


Explain about communication features in UNIX?

0 Answers  


What command you use for cpio to create a backup called backup.cpio of all the users’ home dirs?

2 Answers  


Set the Display automatically for the current new user ?

3 Answers  






What command can you use to make a tape archive file of a /home directory and send it to the /dev/tape device?

0 Answers  


Explain difference between nfs soft and hard mouniting points?

0 Answers  


How do I check cores in linux?

0 Answers  


What is the Difference between 'su' and 'su-' ?

5 Answers   Fujitsu, Locuz,


What is the makefile in c?

0 Answers  


what is the roles and responsibilities in linux system admin having 2yrs exp..?

0 Answers   HCL, RNF Technologies,


Q. If we transfer 100 files by ftp to remote server, how to know the files are successfully transfer or some file are not transferred ?

6 Answers   IBM, IMB,






Categories