In the GNU bash shell, I can type Ctrl + R to search for a matching command previously run. E.g., if I type Ctrl + R and then “grep
“, it lists my last grep
command, and I can hit Enter to use it.
This only gives one suggestion though. Is there any way to cycle through other previously typed matching commands?