Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Oct 1997 18:10:11 +1030
From:      Greg Lehey <grog@lemis.com>
To:        wolftoy@ix.netcom.com
Cc:        FreeBSD Questions <questions@FreeBSD.ORG>
Subject:   Re: unlink
Message-ID:  <19971031181011.62216@lemis.com>
In-Reply-To: <34598179.372D@ix.netcom.com>; from Wolf Toy on Fri, Oct 31, 1997 at 12:58:01AM -0600
References:  <34598179.372D@ix.netcom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Oct 31, 1997 at 12:58:01AM -0600, Wolf Toy wrote:
> Hi everyone,
> 	I have linked two directories together using ln

Hopefully ln -s.

> and know I need to unlink them but I can't find unlink(If this is
> even the right command I need).

The system call is called unlink(2), but the command is rm(1) (for
files and symbolic links) and rmdir(1) for directories.  If you've
used ln -s, you have a symbolic link, not a directory, so you want to
use rm(1).

Greg



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19971031181011.62216>