Why is that there is a difference in the file sizes as denoted in the screenshot i.e. the total file size under ls -lh is 44k whilst the size of the folder is only 4k? Am I reading it incorrectly?
|
feedback
|
|
Yep you are reading it wrong. 4.0K is the size on disk the the what you really want to look at is the
vs
| |||||||||||
feedback
|
|
The In Linux/Unix a directory is just a file containing information the Edit If you want to know (approximately) how much disk space is being used by a set of files then e.g.
The output from
which is the sum of the sizes of the files. | |||||||||||
feedback
|