You are viewing a single thread.
View all comments
4 points

Y’all know about ctrl-r to search history, right? I went for so many years without even thinking to look for something better than up-arrow, so I have to mention it.

permalink
report
reply
4 points

Wait until they learn that you can ctrl+u when you mistyped your password in sudo instead of spamming backspace…

permalink
report
parent
reply
1 point

What does that do?

permalink
report
parent
reply
3 points
*

Delete until start of line. So essentially equivalent to spamming backspace a bunch.

permalink
report
parent
reply
1 point

Bro. You just changed my life and don’t even realize it

permalink
report
parent
reply
2 points

Here’s another mindfuck: gnu readline is so popular that developers of other software tend to implement its keybinds as hidden features/eastereggs. That’s why ctrl+u works in GTK text input boxes as well!

permalink
report
parent
reply
1 point

I end up hitting Ctrl+u at work all the time and then being disappointed and holding backspace.

permalink
report
parent
reply
2 points

history | grep <search term>

Does the job well if the key combo doesn’t work.

permalink
report
parent
reply
1 point

Followed by !xxx where xxx is the number of the command to re-run

permalink
report
parent
reply
1 point

This. I didn’t know about CTRL+R, but this has been my goto

permalink
report
parent
reply

linuxmemes

!linuxmemes@lemmy.world

Create post

I use Arch btw


Sister communities:
Community rules
  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

Community stats

  • 8.2K

    Monthly active users

  • 1.1K

    Posts

  • 61K

    Comments

Community moderators