dacaprice.com from fitness to technology.

14Aug/090

What is the “total” in ls -l ?

Today I had a bit of a brain fart. I might run 'ls -l' in my terminal 100 times a day and today I'm looking the output and asked what is that "total" actually mean?


[dacaprice@fedora10 ~]$ ls -l
total 54752
drwxrwxr-x  2 dacaprice dacaprice     4096 2009-06-02 22:26 bin
-rwxr-xr-x  1 dacaprice dacaprice   291106 2007-12-13 21:03 a.html

Straight from gnu.org, "for each directory that is listed, preface the files with a line `total blocks', where blocks is the total disk allocation for all files in that directory."

Comments (0) Trackbacks (0)

No comments yet.


Leave a comment


No trackbacks yet.