Bash History Tricks
historyto show your bash history- to rerun a old command:
!<line number>!32will execute the command on line 32 in thehistoryagain!!will execute the last command
Ctrl + R: to search through the history
Relevant Note(s): Linux Basics