Score:0

How to create a shortcut of file/folder?

tm flag

I have successfully created shortcuts for files and folders using the following command:

ln -s folder_path destination_link_path 

For files:

ln -s /home/user/doc.txt /home/user/Desktop/doc.lnk 

For Folders:

ln -s /media/user/Disk1/Data /home/user/Desktop 

However, I am also interested to know if there is an alternative method to create shortcuts using the Ubuntu UI. If anyone knows of such an approach, please share your insights.

Edit:
I have found the solution. To enable the "Create Link" option in Nautilus (Ubuntu File Manager), follow these steps:

  1. Click on the three-line bars in the upper right corner to open the preferences menu.

  2. In the preferences menu, navigate to "Optional Context Menu Actions."

  3. Toggle on the option labeled "Create Link."

After completing these steps, whenever you right-click on a folder in Nautilus, you will see the "Create Link" option available in the context menu.

Zatigem avatar
ru flag
Are you using Ubuntu 22.04 ? Right click and "Create a link" ?
Purushottam Nawale avatar
tm flag
Thanks, got it. It wasn't visible at first. I had to turn it on in preferences.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.