Get size of Linux folders and subfolders

1143015 pts.
Tags:
Linux
I'm trying to get the size of my folders in a Linux file system. I've been using 1s -la but it's the giving me the summarized size. Is there a another command that would achieve this? Du only gives me the size of the sub folder. Can I get both?
1

Answer Wiki

Thanks. We'll let you know when a new response is added.

# du -sch * 

This will give folder & its subfolder size . Also sort it .

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: