June 2004 to March, 2012
Random header image... Refresh for more!

Make a sym link

ln -s [path to the file you want to link to] [name of the alias]

For example:

ln -s /private/var/mysql/mysql.sock /private/tmp/mysql.sock

creates a symbolic link (an alias) of the mysql.sock file in /var/ and places the alias in /tmp

BTW, to get the path of a file into Terminal, just drag the file icon into the Terminal window.


There are no comments yet...

Kick things off by filling out the form below.

Leave a Comment