http://eriwen.com/bash/effective-shorthand/ has a bunch of cool bash tricks, but the one titled "Another neat trick with .inputrc" is way cool, and something I've wanted a long time: start typing a cmd, then up-arrow through your history of matching commands.