[LBo] Removing a symbolic link

Billy Pollifrone billy at silverbaseball.com
Thu May 10 11:05:55 CEST 2007


Jisao wrote:
> How do you remove a symbolic link?
> =

> I create one, only to realize that I did not link the right things.  How
> do I break that link so I can have the right link?
> =

> Tx.
> =

> Jisao

You remove it just like you would a normal file. Only the link is
removed, not the file it points to.

ln -s ~/myfile ~/myfile_link
rm ~/myfile_link

-- =

Billy Pollifrone
billy @ silverbaseball . com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://linuxbasics.org/pipermail/qna/attachments/20070510/ae03d117/si=
gnature.pgp


More information about the QnA mailing list