The main use of this command is to move, but it can also be used to rename files.
The usage of this command is also very similar to the cp command. You must enter
mv first, then the name of the file and the target directory.
mv file.txt /home/username/Documents
Syntax for renaming files is
mv oldname.ext newname.ext