Moving a file to a different directory |
|
Previously, we saw that the mv command can be used to
change the name of a file.
The mv command can also be used to move a file from
one directory to another. For example, this command would move
file ~/potatoes to
directory /u/trixie/typos:
% mv ~/potatoes /u/trixie/typos
After the execution of this command, the pathname of the file
should be /u/trixie/typos/potatoes.
|
John Shipman, john@nmt.edu
Last updated: 1995/12/04 19:39:34 UT URL: http://www.nmt.edu/tcc/help/unix/mvpath.html |
|