White Text Black Background
Wednesday, January 25, 2012
Terminal: DU to show disk usage
I saw my advisor use this command today. I can't believe I didn't know about it.
$ du
returns the disk usage of each file in the current directory.
-s returns the sum of the disk usage for all the files.
-h puts output in human readable format
example:
$ du -sh
900G
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment