ln -fs [source] [target]

Posted in Mac, Other, Uncategorized on Mar 18, 2007

So today I used the ln utility or link utility, so here is how you make a symbolic link, trust me they are very useful especially when you have external Hard Drives.

Open the Terminal. Type, cd ~/ that will put you in your home directory.
Okay now. look for your target, in my case I was practicing some Ruby On Rails stuff because I am a noob at it. Not stupid just new with it and I don’t always have time, anyways the case is that I keep all my RoR files in my external hard drives which has the path /Volumes/Mac\ HD/FernyB/~ror

I get tired or typing that everytime so I finally created a symbolic link in my home directory. So now I type
cd ~/~ror and that will drop me into the directory where I keep my RoR files which again is /Volumes/Mac\ HD/FernyB/~ror

To create the symbolic link type ln -fs /Volumes/Mac\ HD/FernyB/~ror ~/~ror
So now when I am in my home directory all I type is cd ~/~ror and this will put me into the /Volumes/Mac\ HD/FernyB/~ror directory. So if I type pwd the path will show as /Users/FernyB/~ror.

See that is why symbolic links are cool….

Trackback URI | Comments RSS

Leave a Reply

  • Recent Comments

    • Rey Alfrey: I’m not that much of a internet reader in all honesty but your site is really nice, keep writing! I’ll go...
    • Gregorio Schrecongost: obviously like your web-site however you need to check the spelling on quite a few of your...
    • ekstra łazienki: 76. I would like to thank you for the efforts you have put in writing this web site. I’m...
    • djcity record pool: Good day! This post could not be written any better! Reading through this post reminds me of my...
    • Aline Shiner: I in addition to my buddies have already been following the excellent secrets from your website while...

Bad Behavior has blocked 115 access attempts in the last 7 days.

eastern-avalanche
eastern-avalanche
eastern-avalanche
eastern-avalanche