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:
Credit goes to brun65i but he posted it as a comment instead as an alternative. I hadn't noticed the -h option on sort before and this seems like the cleanest alternative. Thanks Brun65i!
There are 4 alternatives - vote for the best!
This allows the output to be sorted from largest to smallest in human readable format.
If you can do better, submit your command here.
You must be signed in to comment.