Simply type
du -ks directory
Where du = Directory Usage
-k = Use units of kb (1024 bytes) for size
s = Display summary only
directory = Is the directory to start reporting sizes, or if not provided it defaults to the current directory.
This blog will contain topics such as Java, JavaFX, Spring, JSP, JSTL, ExtJS, Adobe Flex and iPhone development.
Try
ReplyDeletedu -h
(or -hs)
(-h means human readable)
Also been given this
ReplyDeletedu -hx --max=1