Unix

Move/mv command in unix

Move command in unix is used to move or rename the files and directories.
Th syntax of move/mv command is

The options of mv command are

Examples of mv Command
  • Unix command to rename a file   
              
  • Unix command to rename a directory   
              
  • Unix command to move a directory in to another directory    
  • To move all the directories and files use below command  
Powered by Blogger.