On Saturday 18 Dec 2004 9:13 pm, [EMAIL PROTECTED] wrote:
> When I do ,e.g.,
>
> $ ls -l /
>
> , I get:
>
> total 52
> drwxr-xr-x 2 root root 4096 Dec 18 13:44 bin/
> what about the numbers that appears in the second and in the
> fifth column? What's their meaning?
As care free said, the second is the number of links, the fifth is the
size. For normal files the number of links is 1, unless you have a hard
link ("ln" without the "-s") to that file. For directories there are
hard links created for you:
the access point of the directory: mnt in /
the .. directory within each subdirectory: .. in /mnt/crdom
the . directory in the directory itself: . in /mnt
So for directories that have no further hard links and are not active
mount points, the second field should be two more than the number of
directories it contains.
The fifth field is the file size; directories are just files and they
have a size like any other file.
--
Richard Urwin
____________________________________________________
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________