[clue-tech] How to NEXT in reverse-i-search

David L. Anselmi anselmi at anselmi.us
Tue Dec 14 22:46:28 MST 2010


Maxwell Spangler wrote:
> On Mon, 2010-12-13 at 14:37 -0700, David L. Willson wrote:
>> So, you know that<CTRL>+r followed by a pattern finds the last (most recent) occurence of that string in your bash command history. What if you want the 2nd or 3rd most recent? How do you keep "searching up" your history?
>
> If you go old school and set it to 'vi' mode then you use / to search
> forward and ? to search backward :-)

And n to search again in the same direction.

Dave


More information about the clue-tech mailing list