The mv command renames a file or directory, or moves it to another location. Unlike cp, it does not leave the original pathname in place after a successful move.
Command Line · Lesson 11
mv (Move)
Learn how to rename and move files or directories while avoiding unintended overwrites.