Total in ls -la
Robert Nichols
rnicholsNOSPAM at comcast.net
Thu Nov 9 04:34:58 UTC 2006
Fajar Priyanto wrote:
> Hello guys,
> I'm curious when we do 'ls -la', what does 'total' mean? Is it the amount of
> directory, files, or else?
>
> Example:
> pwd
> /tmp/testls/dir1
>
> ls -la
> total 8
> drwxr-xr-x 2 fajar users 4096 2006-11-06 11:12 .
> drwxr-xr-x 3 fajar users 4096 2006-11-06 11:12 ..
>
> What 'total 8' stands for?
> Thank you very much.
That is the total number of file system blocks, including indirect
blocks, used by the listed files. If you run "ls -s" on the same
files and sum the reported numbers you'll get that same number.
--
Bob Nichols Yes, "NOSPAM" is really part of my email address.
More information about the fedora-list
mailing list