streak 0d sign in / up

Command Line · Lesson 11 of 19

mv (Move)

0%

0 / 5 checkpoints answered

Virtual Machine Standing by
✓ Setting up Virtual Machine…
✓ Initializing Virtual Machine…
✓ Starting Desktop Services…
✓ Connecting to Interface…

Click inside the terminal, type the command, press Enter.

The mv command renames a file or directory, or moves it to another location. Unlike cp, it does not leave the original pathname in place after a successful move.

The basic syntax is:

mv [OPTIONS] SOURCE DESTINATION