Next:
Removing(Deleting) files or directories
Up:
Files and directories
Previous:
Copying files or directories
Contents
Renaming a file or directory:
To rename a file, type
mv <old_file_name> <new_file_name>
.
To rename a directory, type
mv <old_dir> <new_dir>
.
To move a file into another directory, type
mv <file1> <dir_name>
.