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:
This will only work on files since ls won't tell the size of a directory contents.
Note that the first switch is the digit one, not the letter ell.
There are 2 alternatives - vote for the best!
This command simply outputs 10 files in human readable, that takes most space on your disk in current directory.
If you can do better, submit your command here.
You must be signed in to comment.