Garry Conn

How To Make a Symbolic Link With Linux

By Garry Conn - Mon, Oct 1 2012, 8:14am CDT

Making a symbolic link in Linux is fairly easy. Basically a symbolic link is nothing more than a shortcut link in Windows. Let's say that you have a text file in your Documents folder and you would like to create a shortcut to that file on your desktop. I am sure you know how to do that in Windows, and doing the same thing in Linux is just as easy. Here is how to do it inside a shell.

The code you need is:

ln -s

Using the example above this is how it works:

ln -s /home/username/documents/text-file01.txt /home/username/desktop/text-file01.txt

And that's how that is done! In the near future I may add to this article with additional symbolic link examples. But for the time being this will cover most all of your symbolic link needs.