Moving files and directories

Moving files and directories

To move files and directories from one place to another use the mv (move) command:

   mv [option] filename1 filename2
               directory1 directory2
               filename directory

You can also change the name of a file or directory by moving it.


Top document