Ctrl + R is bash history search
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!
Or CTRL+SHIFT+r, CTRL+s just pauses my terminal output, you can unpause it with CTRL+q
What if history
only shows the last 10-15 entries? You might have to actually type the location of the history file or find out if history
has any command line switches. (Does it have any switches? Dunno.)
Edit: I think CIS Benchmarks recommended limiting bash history. Regardless, I have seen some installations that only show an abbreviated bash history by default.
So basically this? It’s absolutely amazing. Just be warned that it replaces ctrl+R AND up arrow shortcuts by default. You can easily disable the up arrow though.
I prefer to just speak to my computer instead of using a keyboard. The computer doesn’t respond but maybe one day
A speech operated terminal would be possible, speech to text is pretty well developed by now, shouldn’t be too hard to hook that up to a terminal.
But, y’know, effort.
You can Ctrl+R, type “ls”, then keep hitting Ctrl+R until you find one without arguments if you need them. Efficiency at its finest.
If people are going to make comics about me, they could at least let me know.
We tried telling you.
Maybe if you stopped screaming every time we tried, but nooo, SOMEONE has to have issues with the voices in their walls.
They’re never going to find the body anyway. Stop worrying.
Jfc, how did they film me?
Me last Thursday:
user@work5:~$ [CTRL-R] ls
user@work5:~$ ls
me: “That will do…”