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:
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
There are 4 alternatives - vote for the best!
">>" appends to the file
">" replaces the entire file
make sure to use ">>"
If you can do better, submit your command here.
You must be signed in to comment.