How to reverse-i-search back and forth?

Posted by m-ric on Super User See other posts from Super User or by m-ric
Published on 2012-09-11T15:55:51Z Indexed on 2012/09/12 3:40 UTC
Read the original article Hit count: 336

Filed under:
|

I use reverse-i-search often, and that's cool. Sometime though when pressing Ctrl+r multiple times, I pass the command I am actually looking for. Because Ctrl+r searches backward in history, from newest to oldest, I have to:

cancel, search again and stop exactly at the command, without passing it. While in reverse-i-search prompt, is it possible to search forward, i.e. from where I stand to newest. I naively tried Ctrl+shift+r, no luck. I heard about Ctrl+g but this is not what I am expecting here. Anyone has an idea?

© Super User or respective owner

Related posts about linux

Related posts about search