When I do ls -l
I get this:
calico@A000505:~/Documentos$ ls -l
total 2020
-rwxr-xr-x 1 calico calico 8559 2010-11-16 11:12 a.out
-rwxrw-rw- 1 smt smt 2050138 2010-10-14 10:40 Java2.pdf
-rwxrw-rw- 1 ocv ocv 234 2010-11-16 11:11 test.c
But what does the "total 2020" mean? I only have 3 files so it's not the number of files or directories, and I guess it's not the size either. So what is it?
Best Answer
The number of 1kB blocks used by the files in the directory, non-recursively.
Use
ls -lh
to have some more meaningful output.