mv moves or renames a file or directory.
Contents |
Usage: mv <options> <source_path> <destination_path>
<source_path> - Name of the existing file or directory
<destination_path> - Destination directory and/or file name
Enter mv <old_name> <new_name> where <old_name> is the present name of the file or directory and <new_name> is the file or directory's new name.
Enter mv <source_name> <parent_name> where <source_name> is the name of the file or directory and <parent_name> is the parent directory's new name.
Enter mv --help to see basic command line options and syntax or enter man mv to read the manual.