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 save a file in linux?
What does comm do and how to use it?
What does sh do in linux?
How do I run a bash script in linux?
Brief about the command nn?
What make install does?
What is the command to check cpu speed in linux?
How often do you use grep command and how in Linux operating system?
How do I check my cpu speed?
What does grep grep do?
How do I search bash history?
How do I test my cpu speed?
How do I run a shell script?
How does mkdir work in linux?
What does curl command do in linux?