Move Directory Linux – 2 Easy Methods

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