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

    • tory burch canvas tote: Incredible, I actually better begin saving this money. Really like a lot of these kind of...
    • Kostenloser Stromanbieter Vergleich online: A truly gripping article. I leave maintain to supervise it.
    • a4928971: I’ve said that least 4928971 times. SCK was here
    • Jennifer Youns: Many thanks to you for sharing these kind of wonderful content. In addition, the optimal travel plus...
    • Alonzo Williams: Thanks for your write-up on the travel industry. We would also like to add that if you’re a...

    Recent Listened to Tracks

    Loading...

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

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