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:
Here's how to serve a directory in one line of Ruby.
Handy for sharing files at a conference, for example.
This one line Perl script will display the smallest to the largest files sizes in all directories on a server.