Move Directory Linux - 2 Easy Methods
1 min. read
Published on
Read our disclosure page to find out how can you help MSPoweruser sustain the editorial team Read more
![move directory linux](https://mspoweruser.com/wp-content/uploads/2023/12/move-directory-linux-886x590.png)
To move a directory on Linux, you can use:
- mv command
- GUI
1. Using the mv Command
1. Press CTRL+ALT+T to open the terminal.
2. Type “mv /path/to/source/directory /path/to/destination/directory” and hit Enter.
![moving directory on Linux using mv command](https://mspoweruser.com/wp-content/uploads/2023/12/moving-directory-on-Linux-using-mv-command.png)
3. Navigate to the destination directory with “cd /path/to/destination/directory“.
4. List the content for verification via “ls“.
![listing content of the destination directory](https://mspoweruser.com/wp-content/uploads/2023/12/listing-content-of-the-destination-directory.png)
2. Using GUI
1. Navigate to the source directory.
2. Right-click on it and select “Move to…” option.
![moving a directory via GUI on Linux](https://mspoweruser.com/wp-content/uploads/2023/12/moving-a-directory-via-GUI-on-Linux.png)
3. Open the destination directory and click “Select“.
![selecting destination directory via GUI](https://mspoweruser.com/wp-content/uploads/2023/12/selecting-destination-directory-via-GUI.png)
4. Verify.
![Verifying existence of moved directory via GUI](https://mspoweruser.com/wp-content/uploads/2023/12/Verifying-existence-of-moved-directory-via-GUI.png)
You may also be interested in:
So, now you know how to move a directory on Linux! If you have any tips, share them in the comments below.
User forum
0 messages