Last active
February 8, 2016 06:35
-
-
Save montgomerykern/25d7ae31d4d9b3b7bfc1 to your computer and use it in GitHub Desktop.
Moving Files in Linux with the MV Command
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# mv source dest | |
# mv /path/to/source /path/to/dest | |
# | |
# mv /var/www/vhost/domain.com /var/www/html/ | |
How do I Move Multiple Directories? | |
Use the following syntax to move dir1 and dir2 to /path/to/dest/ directory: | |
$ mv -v dir1 dir2 /path/to/dest/ | |
$ ls -l /path/to/dest/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment