command history
- type history to see your command history
- type !! to repeat your last command
- type !15 to repeat command #15 from your history
- type !gcc to repeat your last gcc compile command
- use the up and down arrow keys to move through your history list
- can use emacs commands (like ctrl-a, ctrl-e, ctrl-f, and ctrl-d) to edit a command
- can use vi, too, if you want (bash: set -o vi, tcsh: bindkey -v)
|