Re: Total in ls -la

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux