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

I’d like to know more about !!

permalink
report
parent
reply
8 points
*

It just expands into the last command you put in your shell, so it’s useful for retrying a command that you want to prepend with sudo for example, if you realize you needed elevated privileges, or maybe you want to pipe something in it, pipe it through something, redirect its output etc.

permalink
report
parent
reply
5 points

Brilliant – I’ve needed this so many times. Thanks for the explanation

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

  • 7.8K

    Monthly active users

  • 1.3K

    Posts

  • 69K

    Comments