A great list of command-line tips
commandlinefu.com
commandlinefu.com
I have to give Peteris Krumins credit for creating some great references like http://www.catonmat.net/blog/the-definitive-guide-to-bash-co... and http://www.catonmat.net/blog/bash-vi-editing-mode-cheat-shee... (or for the depraved, http://www.catonmat.net/blog/bash-emacs-editing-mode-cheat-s...)
I'm astonished this works in bash but not in zsh.
$ blah blah[ESC]v
puts you in vim with the command line thus far. autoload edit-command-line
zle -N edit-command-line
bindkey '^X^E' edit-command-lineI don't really have a solution to this, because at the end of the day, the goal is to do more things at the command line, but it'd be nice to have a way to distinguish between features of the shell, features of the OS, and non-OS programs that have command-line interfaces. Even if I'm interested in all three, it's nice to know that 'sudo !!' can be expected to work machines than mtr, for example.
http://technet.microsoft.com/en-us/library/cc772390(v=ws.10)...
Put it in your .bash_profile file in your home directory on OSX, or your .bashrc file on Linux.
Simply type 'fu' on the command line to jog your memory!