It's FOSS published a quick tutorial with examples on how to use the mv command in Linux.
mv Command Examples in Linux
The mv command in Linux is used to rename and move files. Please don't confuse it with the cp command. The cp command is used to copy files from one to another directory, whereas the mv command is for cutting and pasting files.
For a more in-depth understanding of the mv command, I'll be sharing the following aspects of the mv command