Linux (1)

How do I list the size and total size of files in a directory on Linux?

du -hsc [directory]

if you want it to recurse:
du -hc [directory]

Comments

Add a Comment



NOTE: Comments are moderated and will not show until approved.