Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I do a search using CtrlR, the search gets limited to entries older than displayed hit. How do I reset this so that it starts from the beginning (i.e. from latest history entry) without leaving the shell?

share|improve this question
up vote 3 down vote accepted

Press Alt+>.

share|improve this answer

Ctrl+G will abort the search; starting a new one will begin with the latest history entry again

share|improve this answer
+1 Disappointingly, neither shortcut resumes the search after pressing Ctrl+R again, and Ctrl+G is easier to type than Alt+>. – Mikel Feb 7 '11 at 23:12
@Mikel Oh, I misunderstood the question. You're right; I'm not sure how to do that – Michael Mrozek Feb 8 '11 at 0:20

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.