History
history¶
This commands shows a list of bash commands that have been run on this machine with a number next to them.
Show all bash commands run:
history
Run a previous command:
!51
Find all ssh commands:
history | grep ssh
Execute last ssh command:
!ssh