x

MV command in Unix

Prev     Next

MV command  UNIX:

 MV command in Unix, we have an ability to move the files to different name or can move the file to different directory . The below command is used to move the file to different name within the directory.


Example for MV command in Unix:

mv test.1 test.txt

hp2033:csmssupp:/home/csmssupp/sss=>mv test.txt test1.txtNote:

  • when we use mv command the timestamp of the file will not be changed.
  • The below command is used to move the file to different directory.

Ex:

mv test1.txt /home/csmssupp/eee

Other UNIX Commands:

Below are the list of basic UNIX commands used in UNIX operation system.


1. ls Command in Unix
2. Man Command in Unix
3. More Command in Unix
4. Vi or View Command in Unix
5. Touch Command in Unix
6. Mv Command in Unix
7. Cp Command in Unix
8. Rm Command in Unix
9. Cat Command in Unix
10. Diff Command in Unix
11. Wc Command in Unix
12. Chmod Command in Unix
13. Gzip Command in Unix
14. Gzcat Command in Unix
15. Gunzip Command in Unix
16. Directories Command in Unix

Prev     Next



Like it? Please Spread the word!