How to get the summarized sizes of folders and their subfolders?

Posted by Kau-Boy on Super User See other posts from Super User or by Kau-Boy
Published on 2010-07-11T17:26:29Z Indexed on 2012/07/01 15:18 UTC
Read the original article Hit count: 229

Filed under:
|
|
|

Let's say I want to get the size of each folder of a linux file system. When I use ls -la I don't really get the summarized size of the folders.

If I use df I get the size of each mounted file system but that also doesn't help me. And with du I get the size of each subfolder and the summary of the whole file system.

But I want to have only the summarized size of each folder within the ROOT folder of the file system. Is there any command to achiev that?

© Super User or respective owner

Related posts about linux

Related posts about unix