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:
">>" appends to the file
">" replaces the entire file
make sure to use ">>"
There is 1 alternative - vote for the best!
For instance, to add mongodb 10gen package
echo "deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen" | sudo tee -a /etc/apt/sources.list
If you can do better, submit your command here.
You must be signed in to comment.