Your readline config sucks because the default sucks.
Add this to your .inputrc:
"\e[A": history-search-backward
"\e[B": history-search-forward
Hint: :q!
Sister communities:
Community rules (click to expand)
1. Follow the site-wide rules
sudo
in Windows.Please report posts and comments that break these rules!
Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.
Your readline config sucks because the default sucks.
Add this to your .inputrc:
"\e[A": history-search-backward
"\e[B": history-search-forward
I see so many people loving on atuin in the comments but I just tried it and don't get it. It seems so much worse than the built in search. I guess it's not for me.
god I fucking love Linux (not a Linux thing) but I still fucking love Linux
Ctrl + p is the way.
I thought command line users like typing things. I avoid typing where possible, and dont use the command line on Linux.
In my first professional programming job writing custom software for clients in 1995, one of our standard sales pitches to clients was the idea that a GUI-based application would do away with the need for command prompts. This was always met with applause and great rejoicing. It's kind of remarkable that command prompts are still going strong thirty years later. I'm sure nobody would appreciate having this phenomenon compared to the Amish so I won't do it. But I think it's pretty cool that the Amish are still around doing their thing.
People do not just point and nod. Using words and not just guestures makes life easier in many, but not all situations.
I mean that's what it's there for
And then the command is just "su"
You know the one command I hate? CTL vs CTRL. There is no damned consistency I can see. Is it systemctl reboot or systemctrl reboot?