Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Apr 2006 18:25:18 +0100
From:      RW <list-freebsd-2004@morbius.sent.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Help clarify the '-l' option of ls(1).
Message-ID:  <200604121825.20985.list-freebsd-2004@morbius.sent.com>
In-Reply-To: <BAY107-F329581CF499F83C9C27406A6C20@phx.gbl>
References:  <BAY107-F329581CF499F83C9C27406A6C20@phx.gbl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 12 April 2006 16:47, David Robillard wrote:
> Hello everyone,
>
> I'd like to have an explication about the '-l' (minus L) option of the
> ls(1) command.

>...

> Does anyone know any details about this 'number of links' ???

It's what it says on the tin; it's the number of links to the file.

You get one link from the directory you are looking at, one from each hard 
link; and for a directory, one from the ".." link in each immediate 
sub-directory.



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