____________________________________ / dd if=/dev/dsp | ssh -c arcfour -C \ \ username@host dd of=/dev/dsp / ------------------------------------ \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || || ____________________________ < python -m SimpleHTTPServer > ---------------------------- \ ^__^ \ (==)\_______ (__)\ )\/\ ||----w | || || ________________ < :w !sudo tee % > ---------------- \ ^__^ \ ($$)\_______ (__)\ )\/\ ||----w | || ||

commandlinefu.com is a public repository for handy bash one-liners like sudo !!, python -m SimpleHTTPServer or cp filename{,.bak} (run the last command as root, serve current directory tree at http://$HOSTNAME:8000/, and backup or copy a file). You can sort the entries by date or by popularity. I like it - it’s a convenient way to explore new commands and see what other people manage to do with the shell.

Snipt goes one step further and provides a database for all things related to coding, scripting and administration. Python, PHP, Ruby, Apache, C++, OS X - if you’re looking for a quick way to solve a specific problem, or want to explore a new language, give it a try.