[NTLUG:Discuss] symbolic links
Richard Humphrey
richard at multicam.com
Wed Apr 16 09:35:39 CDT 2003
Sheesh, I am moron, I thought it would be more involved than that. I think i
tried everything but that. lol
-----Original Message-----
From: discuss-bounces at ntlug.org [mailto:discuss-bounces at ntlug.org]On
Behalf Of Darin W. Smith
Sent: Wednesday, April 16, 2003 9:28 AM
To: NTLUG Discussion List
Subject: Re: [NTLUG:Discuss] symbolic links
On Wed, 16 Apr 2003 09:12:46 -0500, Richard Humphrey <richard at multicam.com>
wrote:
> How do you remove a symbolic link?
>
>
> Richard Humphrey
>
supposing:
mylink -> myfile
rm mylink
will remove the link and leave the file (myfile) intact.
As long as it is a *symbolic* link, rm will just remove the link (don't do
that on hard links though, because a hard link is really the original file)
.
Depending on the shell you use, and the distro you use, you may also have
an 'unlink' command.
Note that depending on permissions, or sometimes if the file pointed to
doesn't exist, you may have to use the -f (force) option to rm.
--
D!
Darin W. Smith
AIM: JediGrover
_______________________________________________
https://ntlug.org/mailman/listinfo/discuss
More information about the Discuss
mailing list