Create symbolic link in Linux

To create a symbolic link use the command below:

ln -s [TARGET DIRECTORY OR FILE] [SHORTCUT]

Example of creating a symbolic link called my.conf from a file called /var/test/myconfig.conf

ln -s /var/test/myconfig.conf my.conf

Leave a Reply

Your email address will not be published.

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