June 2000
Beginner
704 pages
14h 55m
English
Moving and renaming files and directories, like file navigation and copying, is a basic skill you'll need when organizing information within Linux. The following sections demonstrate how to use the mv command to move and rename files and directories.
The mv (move) command is used to move or rename files and directories. To rename a file or directory, specify the old filename and the new filename on the command line (unlike the cp command, mv does not leave a copy of the original file or directory):
$ mv error.log error.log.oct99
Use the mv command with caution. You can easily overwrite existing files unless you use the -i (interactive) command-line ...
Read now
Unlock full access