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
What does chmod 666 do?
What is bc command in unix?
What are commands in grammar?
How is grep so fast?
How do I check cpu usage?
What does umask 022 mean?
What is cpu core in linux?
what do know about commands?
How can we increase disk read performance in single command in Linux operating system?
What is finger command in linux?
What is history command in linux?
What are the ms dos commands?
What is git command?
What is the root directory linux?
How do I get to root in linux?