How to create symbolic link in Unix

create symbolic link, symbolic link, link, linux, computer tipsSymbolic link in *nix is just like a shortcut in Window. You can create a shortcut for script or directory. You can delete symbolic link anytime and it wont affect your link directory or files.

To create symbolic link is very easy, it’s just a line of command to create symbolic link in *nix. We use ln command to create symbolic link. Below are the explanation on how to use ln command

#ln -s [PATH_TO_SCRIPT] ./[SHORTCUT_NAME]

So for example, if I want to create a symbolic link “apachelogs” at myfolder to point to /usr/local/apache/logs folder then i’ll use the command below:-

ln -s /usr/local/apache/logs /home/myfolder/apachelogs

So you can try to create your own symbolic link now. :)

Technorati Tags: , , , , , ,

Share and Enjoy:
  • Reddit
  • BlinkList
  • del.icio.us
  • Digg
  • Fark
  • IndianPad
  • StumbleUpon
  • YahooMyWeb
Posted at February 15th, 2007 by chua

If you think this article helps you to solve your problem and clear your headache, feel free to buy me a drink :)

Related Post

One Response to “How to create symbolic link in Unix”

  1. How to auto start Apache during boot time - Linux - Techie Corner Says:

    [...] How to auto start Apache during boot time - Linux By Techie Corner « How to create symbolic link in Unix [...]

Leave a Reply