this post was submitted on 03 Jul 2023
128 points (97.8% liked)

linuxmemes

20770 readers
1599 users here now

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!

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] alexthelion335@sh.itjust.works 3 points 1 year ago (2 children)

The ! is really useful when you forget you need to run the command with sudo. sudo !!

[–] Aurenkin@sh.itjust.works 2 points 1 year ago

I like the argument reuse as well via !:1 and such. A bit more situational but can definitely come in handy

[–] dukk@programming.dev 2 points 1 year ago (1 children)

That’s life changing shit right there.

[–] wuddupdude@feddit.nl 2 points 1 year ago (1 children)

No thanks. I'll just press the up arrow -> ctrl-a -> sudo

[–] norawibb@sh.itjust.works 1 points 1 year ago

this is way more intuitive anyway