Noice (thelemmy.club)
submitted 3 months ago by to c/linuxmemes@lemmy.world
 
you are viewing a single comment's thread
view the rest of the comments
[–] 7 points 3 months ago* (10 children)

Cannot find any reference online. What is this supposed to do? Not at a PC right now.

  • source
  • hideshow 10 child comments
  • [–] 9 points 3 months ago (8 children)

    !! Just puts in your last typed command. So if you typed rm -rf /etc, you wouldn't have permission. But if you typed in sudo !! Right after, then you're really fucked.

  • source
  • parent
  • hideshow 8 child comments
  • [–] 7 points 3 months ago (2 children)

    Ah I wasn't clear -- those, I knew. It's alt+S I don't know. I'm at my machine now and it doesn't seem to do anything on Pop_OS.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 1 point 3 months ago (4 children)

    But if you typed in sudo !! Right after, then you're really fucked.

    Not if you don't type your password.

  • source
  • parent
  • hideshow 4 child comments
  • [–] 3 points 3 months ago (2 children)

    Adding to this, if you notice numbers next to your previous commands when you run history, you can do ! and it will rerun that command. Probably the second cool shell trick I learned back in the olden days or yore (mid-90s?) after ⬆️

  • source
  • parent
  • hideshow 2 child comments