How to Create Shortcut of File or Folder in Ubuntu

For Windows user, it is very easy to create shortcut of file. Right click on the file, and choose Create Shortcut menu.

For Ubuntu, we have to do a little bit effort. For example we want to create shortcut of file and put into Desktop.

  1. Open two windows of File Manager / Nautilus. One window location is Desktop, another window location is folder of file we want to create the shortcut.
  2. Drag the file to other window (Desktop window) while press and hold ALT key.
  3. Once we drop the file, there will be pop up menu. Select Create Link from the pop up menu.

We can also use combination of CTRL + SHIFT key while drag the file. It will create shortcut without showing the pop up menu.

Another way to create the shortcut is using command line.

  1. Open Terminal
  2. Type the following command:
$ ln -s  /folder_or_file/link/will/point/to /name/of/the/link

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.