creating symlink in linux

Here’s another quickie post.  I have to create symbolic links occasionally, and enough time has passed in between the uses that I always forget the syntax to create the link.  I got this bit of code from here.  So, without further ado:

ln -s <Destination> <linkName>

So for instance, I need a link from /var/www/web to /var/lib/symfony/web, the following works:

ln -s /var/lib/symfony/web /var/www/web

And voila! Done

Till Next Time

Tags: , , ,

Leave a Reply