I hit Ctrl + R almost every time I run a command, but after entering a word (for example, find) I understand that the command is not in my history, so I get it as expected:
(failed reverse-i-search)`find`: cat fire.txt
Now how do I cancel the search, but save the "find" in my command line? No matter which key I press "cat fire.txt", it ends on my command line and I need to erase and re-enter my command again.
I am using Ubuntu. Thanks.
source
share