How to check directory file size on linux (Solution)
Published: July 24, 2008 , Updated: May 31, 2010 , Author: mkyong
hmm… linux whatever also in command line, it really make me uncomfortable, i even need to issue a command to check a directory size.
du -lh
P.S
always issue -h to display file size in human readable format
We can check summary of a directory by issuing
du -sh <directory>
Any Java questions or problems? please post at this JavaNullPointer.com forum, see you there ~
There are a few more options here: http://www.docplanet.org/linux/how-to-find-the-size-of-a-directory-in-linux/
i like too
i like to learn this command
i liked