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 do you check which file consuming more space in linux?
What is 9 in kill?
How do you sort cpu in top command?
What are grep commands?
How do I find hostname in linux?
How do I check if my cpu is overclocked?
How can I type in cmd?
Who linux commands?
What is cd command used for?
Brief about the command ff?
The ‘logout’ built in command is used to
In order to improve your system’s security you decide to implement shadow passwords. What command should you use?
What is the command to see on which port which service is running? And what is the difference between /etc/services file and net stat command?
What are two functions the move mv command can carry out?