Print History: $ history (stored in ~/.bash_history)
Print ’n’ lines: $ history 3
Repeat Most Recent Command: $ !!
(Or press ‘up’ to display the last command) 178 more words
Tags » Bash History
If you are spending lot of time on Linux command line or maintaining a server, probably you may want to keep track of commands which were executed on your machine and knowing the history command usage will speed up your work flow. 968 more words