Symbolic links are the Linux equivalent of Windows shortcuts. But they have properties which make them more useful than a shortcut. A symbolic link can point to a file or directory. It can be used transparently by most programs. Ubuntu will automatically redirect any queries from programs to the destination file or directory. Create symbolic links using the Terminal application in Ubuntu.
- Skill level:
Other People Are Reading
Open the "Applications" menu and click the "Terminal" shortcut in the "Accessories" folder.
Type "cd /path" to change to the directory in which you want to create the symbolic link. For example, to create the link in your "Documents" folder, type "cd /home/yourusername/Documents." Replace "yourusername" with your user name.
Type "ln -s /path/original nameoflink" to create the symbolic link. Note: command starts with a lower case "L." Replace "/path/original" with the location of the file or directory with which you want to link. Replace "nameoflink" with the name you want to give the link. If you are creating the link in a directory outside your home folder, type "sudo" before "ln" to use administrative privileges. The link will work in applications such as Firefox or the Nautilus file browser.
- 20 of the funniest online reviews ever
- 14 Biggest lies people tell in online dating sites
- Hilarious things Google thinks you're trying to search for