Creating symbolic link (soft link) in Linux

119

To create symbolic link navigate to the file directory for which symbolic link will be created.

In following example, symbolic link is created for LiClipse in /usr/bin

# cd /home/muneel/Downloads/liclipse
# ln -s `pwd`/liclipse/LiClipse /usr/bin/liclipse

Note: If `pwd` is not written then full path to file is required in order to create working symbolic link

Verify link by

# ls -l /usr/bin/liclipse 
lrwxrwxrwx. 1 root root 49 Dec 27 01:13 /usr/bin/liclipse -> /home/muneel/Downloads/liclipse/liclipse