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:
No need to type out the full OR clause if you know which OS you're on, but this is easy cut-n-paste or alias to get top ten directories by singleton.
To avoid the error output from du -xSk you could always 2>/dev/null but you might miss relevant STDERR.
There are 10 alternatives - vote for the best!
If you can do better, submit your command here.
You must be signed in to comment.