Move Directory Linux - 2 Easy Methods

Reading time icon 1 min. read

Readers help support MSPoweruser. When you make a purchase using links on our site, we may earn an affiliate commission. Tooltip Icon

Read the affiliate disclosure page to find out how can you help MSPoweruser effortlessly and without spending any money. Read more

move directory linux

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

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

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

3. Open the destination directory and click “Select“.

selecting destination directory via GUI

4. Verify.

Verifying existence of moved directory via GUI

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.

More about the topics: linux