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

    • DennisBB: @neo I don’t see where he wrote on his site that he’ll provide support for that program
    • DennisBB: That’s kool d00d Haven’t tried it yet, but once I’ll have time
    • Pedro: Please send me an invite ;)
    • Josh: That would be sweet. This is the only thing I can find anywhere that actually updates MySpace status outside of...
    • fernyb: @josh I haven’t worked on this code for a while but I suppose I can take a quick look at it, of course...

    Recent Listened to Tracks

    Loading...


My blog is worth $1,693.62.
How much is your blog worth?


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

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