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:
The read command reads input and puts it into a variable. With -i you set an initial value. In this case I used a known environment variable.
Output of a command as input to many