Best Deals & Limited-Time Offers!

Your Webhosting Questions
Answered by the Webhosting Experts
Tags +

Create a symlink

How to create a symlink on Linux Server :

Command :

ln -s

If the desired link filename is the same as the destination’s filename, and the current working directory is the desired location for the link, then you only need:

ln -s

If you are trying to create a link to a directory?

I’ve got a directory called /usr/local/test/installed. In this dir there is the sub-dir “spf-2.3.4”
I want to create a link in “/usr/local/test/installed” called “spf” to “spf-2.3.4.”

cd /usr/local/test/installed
ln -s spf-2.3.4 spf

The syntax is the same whether the link is to a file or a directory.



Need More Personalized Help?

If you have any further issues, questions, or would like some assistance checking on this or anything else, please reach out to us from your account and provide your server credentials within the encrypted field for the best possible security and support.

If you are unable to reach your account or if you are on the go, please reach out from your valid account email to us here at: We are also available to you through our phone and live chat system 24/7/365.