Can’t just hit enter to run the one you want then, though.
Can’t just hit enter to run the one you want then, though.
Ctrl+R
Then type any part of the command (filename, search string, etc)
Ctrl+R again to cycle through the matches.
(Best feature in bash)
As @wandering_nomad@lemmy.world said above, Ctrl+S