Look, I'm lazy, okay?
https://lemmy.world/post/1002753
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)