this post was submitted on 03 Jul 2023
243 points (98.8% liked)

linuxmemes

20921 readers
2309 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
[–] [email protected] 7 points 1 year ago (2 children)

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

[–] [email protected] 2 points 1 year ago (1 children)

That’s life changing shit right there.

[–] [email protected] 2 points 1 year ago (1 children)

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

[–] [email protected] 1 points 1 year ago

this is way more intuitive anyway

[–] [email protected] 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