Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I pressed Ctrl-R to enter into reverse-i-search mode. I stared typing and I couldn't find the command I was looking for. Now I want to exit this search mode. If I press Esc, the last line I viewed will remain on the prompt. I don't want that. I want to go back to a completely clean prompt. How do I do this?

share|improve this question

2 Answers 2

This is an easy one ctrl+c

share|improve this answer
up vote 1 down vote accepted

It's Ctrl-G.

share|improve this answer

Your Answer

 
discard

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.