When you use shells such as bash (or any other terminal tool that uses readline), there is a magic day when you learn about ctrl+r for incremental search of your history.
Today, I have learned that when you are in a command from history and press ctrl+o, it executes the command and selects the following command in history.
(Unfortunately, IPython has another thing bound to ctrl+o :(