I search the terminal command history by pressing Ctrlr but what if:
This is an old command
This is an | less -S older command
I press Ctrlr and then I type "this is an" and the old command commes up but not the older. How can I search all the "this is an" commands? Is it possible to pipe all similar commands to grep or something?
If I set -o vi, how do I undo it?
set -o emacssince there only existsemacsandviline editing mode. – user1146332 Sep 11 '12 at 12:34