Skip to content

mv

Moves a file or directory.

Terminal window
mv [PATH] [DESTPATH]
  • PATH — specify the path to the file you want to move
  • DESTPATH — specify the path to the directory you want to move the file to
Terminal window
mv /home/volk/someFile /home/volk/files

Result:
Moves someFile to /home/volk/files