55 words
1 minutes
Linux commands: mv
2022-08-29

Linux commands: mv#

The mv command in Linux is used to move or rename files and directories.

Moving Files#

To move a file, use the following command:

mv source_file destination_directory

Renaming Files#

To rename a file, use:

mv old_name new_name

Conclusion#

The mv command is a versatile tool for moving and renaming files and directories in Linux. It is essential for file management tasks.


Linux commands: mv
https://zxce3.net/posts/cli/linux-commands-mv/
Author
Memet Zx
Published at
2022-08-29