Help clarify the '-l' option of ls(1).

David J Brooks daeg at
Wed Apr 12 17:09:24 UTC 2006

On Wednesday 12 April 2006 10:47, David Robillard wrote:
> Hello everyone,
> I'd like to have an explication about the '-l' (minus L) option of the
> ls(1) command.
> What exactly is the signification of the second column in the display? The
> man page
> states that it is 'the number of links'. But what does it mean exactly?
> The man page states:
> -l      (The lowercase letter ``ell''.)  List files in the long format,
>      as described in the The Long Format subsection below.
> So we check 'The Long Format' section which says:
>   The Long Format
>     If the -l option is given, the following information is displayed for
>     each file: file mode, number of links, owner name, group name, MAC
> label [output truncated]
> Does anyone know any details about this 'number of links' ???

Take a look at 'man 1 link'.

Sure God created the world in only six days,
but He didn't have an established user-base.

More information about the freebsd-questions mailing list