Showing posts with label du size. Show all posts
Showing posts with label du size. Show all posts

Saturday, May 12, 2012

Determine Directory Size In Linux with 'du'

'du' is an acronym for Disk Usage. So, if you want to find the size of a directory in Linux/Unix:
du <directory_name>
A more human-readable format can be generated using -h switch which outputs size with M,G and similar postfix.
du -h <directory_name>