Home Privacy Policy Feedback Link to us Site Map Forums

UNIX Basic commands: mv


The mv command allows you to move and rename files.

The syntax for the mv command is:

mv [options] sources target

options:

-f Forces the move.
-i Prompt for a confirmation before overwriting any files.

Examples:

mv -f tech /usr


* Please note that there are many flavors of UNIX, so if in doubt, consult your man pages.