Web Hosting Talk







View Full Version : symlink


Crazy BigGaz
04-05-2003, 05:13 PM
Hi,

How do I remove a symlink ?

Regards,
Garry

alapo
04-05-2003, 05:21 PM
You should just be able to delete it with an rm -rf link (I'm about 98% sure it wont delete the directory it is linked to, you probably should make sure I'm right before trying though :D )

ChickenSteak
04-05-2003, 05:29 PM
yea just rm -rf it, and no it dosen't remove what it is linked to :).

Crazy BigGaz
04-05-2003, 05:34 PM
Hi,

So I would rm -rf symlink

symlink = the link

Regards,
Garry

Crazy BigGaz
04-05-2003, 05:43 PM
Hi,

I have done that thank you :D

Regards,
Garry

alapo
04-05-2003, 05:43 PM
Originally posted by silvernetuk
Hi,

So I would rm -rf symlink

symlink = the link

Regards,
Garry

Yep that is correct.

Crazy BigGaz
04-05-2003, 08:10 PM
Hi,

So how do these symlinks work are they like a windows shortcut ?

Regards,
Garry

LinuXpert
04-05-2003, 08:42 PM
Originally posted by silvernetuk
Hi,

So how do these symlinks work are they like a windows shortcut ?

Regards,
Garry

Yes. For more info enter the following command: man ln at the command prompt