Move or rename files and directories.
mv draft.txt notes.txtLINUX COMMAND ATLAS · COMMAND GUIDE
Move or rename files and directories.
GNU Coreutilsmv [OPTION]... SOURCE... DESTINATION
Move or rename files and directories.
mv draft.txt notes.txtMove a file and prompt if the destination exists.
mv -i draft.txt ./archive/Rename a file in the same directory.
mv old-name.txt new-name.txtA move across filesystems may behave like copy followed by delete; check the destination and backups before replacing files.