- Is there a convenient autocomplete in unix for previously entered commands like in MATLAB?
- alias prev 'history | grep !^'
- 23 17:43 foo bar
- 47 19:29 foo fighters
- % echo $history
- % set history=20
- % echo a
- a
- % pwd
- /some/dir
- % !e
- echo a
- a
- % history
- 9 echo a
- 10 pwd
- 11 echo a
- 12 history
- % !-3
- pwd
- /some/dir
- % !e:s/a/wow/
- echo wow
- wow
- %