Search through your command history
Pressing Ctrl+R
on the terminal will bring up bck-i-search:
It will then search in reverse order for whatever commands you used based on what you type in.
To keep going back through commands based on the same search term, just press Ctrl+R
again and it will go to the next one in the history.