Also you can use N to search in the other direction. If you hit the keys to quickly and went past the line you wanted.<br><br><div class="gmail_quote">On Tue, Dec 14, 2010 at 10:46 PM, David L. Anselmi <span dir="ltr"><<a href="mailto:anselmi@anselmi.us">anselmi@anselmi.us</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">Maxwell Spangler wrote:<br>
> On Mon, 2010-12-13 at 14:37 -0700, David L. Willson wrote:<br>
>> 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?<br>
><br>
> If you go old school and set it to 'vi' mode then you use / to search<br>
> forward and ? to search backward :-)<br>
<br>
</div>And n to search again in the same direction.<br>
<br>
Dave<br>
<div><div></div><div class="h5">_______________________________________________<br>
clue-tech mailing list<br>
<a href="mailto:clue-tech@cluedenver.org">clue-tech@cluedenver.org</a><br>
<a href="http://cluedenver.org/mailman/listinfo/clue-tech" target="_blank">http://cluedenver.org/mailman/listinfo/clue-tech</a><br>
</div></div></blockquote></div><br>