next up previous contents index
Next: rm Up: Appendix 1: Common UNIX Previous: mkdir   Contents   Index

mv

The move command mv, like copy, is of the form:

mv <options> <source> <dest>.

The <source> parameter can contain wild cards, and when referring to more than one file the <dest> must be a directory. Several options include:


\begin{hanging}
\item{-b} make backups of the files to be removed.
\item{-i} pro...
...removing files.
\item{-v} print the name of the files being moved.
\end{hanging}

Example:

mv myfile myfile.old

will move the file myfile to the new file namedmyfile.old.



Dale Scheetz