I now can only select the last history command that matches.
How can I select,for example, the last but two command that matches?
Pushing CtrlR repeatedly will find earlier matches.
Add this to your ~/.bashrc:
# allow ctrl-S for history navigation (with ctrl-R)
You can enter that command at a prompt if you just want to try it out.
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
6 years ago