Monday, 17 October 2011

View disk usage from the command line

In Linux, you can use the du command to display disk usage in the current folder hierarchy. It's very easy and you can even specify up to what depth you would like to see the results:
$  du -m -x --max-depth=1

No comments:

Post a Comment