I often use the linux terminal, and one thing that I use to help me on my day is to use the history to see past commands:
Then I run the command with !, e.g.: !76. As I do this frequently, one thing that makes this process faster is my shell prompt showing each history number:
So it's easy to re-run commands. To show the command number on your prompt add \!. To your PS1 definition. Mine one is:
"\u@\w \! $ "