How to get the total size of a directory in Linux

published May 05, 2010 05:05   by admin ( last modified May 05, 2010 05:05 )

du -sh

-h means print it human readable (with MB, kB)

-s mean summarize, i.e. don't print the size of sub directories