You must log in or # to comment.
Ctrl + R is bash history search
That sounds an aweful lot like typing to me
Keep hitting CTRL+R until you find it and you can hit CTRL+S to scroll forward if you went past it 👌
I’ve used ctrl R for 20 years.
Now I learn of ctrl S. This is a blessed day!
You know you’re allowed to read the docs, right?
read the docs
NNNNEEEERRRRDDDDD
One day of figuring it out avoids 30mim of reading a doc!
zsh if you can survive configuring it
Ctrl-r
That said… I didn’t discover it so early as I should…
id type out
more ~/.bash_history | grep ls
and copy, paste before id type outls
tbhat least you avoided a “useless cat” by using “more” instead. Respect Bro!
Me last Thursday:
user@work5:~$ [CTRL-R] ls
user@work5:~$ ls
me: “That will do…”