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
How many types of dos commands are there?
How many cmd commands are there?
How many interfaces(ethernet cards) are working using single command?
How do you check which file consuming more space in linux?
What does execute mean in linux?
What is a make target?
How do I open a text file in cmd?
Which command reduces the size of a file?
How do I start ms dos?
What language is clang written in?
What does sh do in linux?
What is mask and umask in linux?
Who command in linux?
How do I clear my run history?
Explain the free command.