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 to know linux os is 32 bit or 64 bit?
How do you do nslookup?
How do I find previous commands in linux?
What is command example?
What are whois tools?
What is SFC command?
Explain the ‘ls’ command in linux
What is df -h command?
Explain grep command.
What is nslookup command?
What are the command prompt commands?
How can we increase disk read performance in single command in Linux?
What does cd – command do?
State and explain about features of UNIX?
Why echo is used in linux?