Wednesday, January 18, 2012

Creating Symbolic Links in Linux

This one is a pretty easy one, but I always forgot which one comes first - the symlink name or the target file/folder.

So, here's how you create a symlink in Linux:-

ln -s [target directory or file] [symlink shortcut]

For example:-

ln -s /usr/local/lib/example /example

0 comments:

Post a Comment

.