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

    • carbonara72: Hi, This is a brilliant feature! I discovered LastBrigde.net a couple of days ago and was frustrated...
    • fernyb: @mike_rofone, I will kill your account, just a side note, I know it’s missing a feature to reset...
    • mike_rofone: Hey Dude, awesome work, it it’s set up it just works like a charm. Maybe I’m dumb but I...
    • mjm: Send me an invite? Thanx., mjm.ent -at- gmail
    • Steven Luscher: Awesome! Now what I’d really like is a way to scrobble tracks played on my SoundBridge…

    Recent Listened to Tracks

    Loading...


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


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

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