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
Information technology is widely used in
How is grep so fast?
Who whoami linux?
What is Data Command?
What is mkdir?
What is shell scripting commands?
What is file and example?
If the programmer wishes to execute an instruction at the specified time. Which command is used?
Why we use pwd command in linux?
Why makefile is used in linux?
What is the symbol of linux?
State and explain about features of UNIX?
What are grep commands?
What are the linux commands used in devops?
What is the difference between find and locate command in linux?