Log in

No account? Create an account
the coproduct of doom [userpic]

ln -s

February 20th, 2002 (12:04 am)

ln -s is nifty

a spot check shows that ln doesn't check if the origin is a valid file!

so you can do evil stuff like this:

ln -s http://www.memepool.com memepool

lrwxrwxrwx 1 niv 500 23 Feb 20 00:01 memepool -> http://www.memepool.com

In the long run, this is probably buggy and undesirable behaviour. In the short run,
this is another rather nifty place to squeeze meaning into things.


Posted by: Patricia (trysha)
Posted at: February 20th, 2002 06:39 am (UTC)

actually - it's desirable, mainly for scripting and dealing with removable media.

You can create symbolic links to files that are on a CDROM for example, the links are only valid if the CD is in the drive.

Posted by: mathew (ex_meta)
Posted at: February 24th, 2002 07:06 pm (UTC)
How to screw with a newbie

% ln -s \* \*

Hours of fun for all the family.

2 Read Comments