In Linux, the command used to move or rename a file is mv.
Usage:
- To Move a File:
mv source_file destination_directory/ - To Rename a File:
mv old_filename new_filename
Summary
The mv command can be used both to move files to a different location and to rename files within the same directory. If you have more questions or need examples, feel free to ask!
