In Ubuntu 12.04 I use CTRL–R to enter a reverse history search. If the command I want is not found (after repeated CTRL–R), how do I immediately exit back to the (empty) command prompt with no historical command entered or executed on the command line?
Bash – How to exit bash history search mode
bashcommand historycommand line
Best Answer
CtrlG this will abort the search