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 do you check which file consuming more space in linux?
How do you copy in terminal?
What command should you use to check the number of files and disk space used and each user’s defined quotas?
What is kill command?
Who unix commands?
What is the difference between rmdir and rm r?
What does chmod 755 do?
What is the command can be run to remove all the rules in an iptable table?
How do I check cores in linux?
What is apple llvm?
What is command line in unix?
What is the default number of shell commands saved in the history list of .cshrc file?
please advice me what i have to prepare for NIC Exam(22-feb- 09). send me the question pattern for the 2 hrs exam. please sent it to manivannan_it15@yahoo.co.in
What command used for showing user info like Login Name, Canonical Name, Home Directory,Shell etc..?
What does the command env do?