commandlinefu.com is the place to record those command-line gems that you return to again and again.
You can sign-in using OpenID credentials, or register a traditional username and password.
Subscribe to the feed for:
Shows the 10 biggest files/dirs
There are 7 alternatives - vote for the best!
I added -S to du so that you don't include /foo/bar/baz.iso in /foo, and change sorts -n to -h so that it can properly sort the human readable sizes.
this will give u the details in MB's; from high to low....
If you can do better, submit your command here.
You must be signed in to comment.