• @QuazarOmega
    link
    8
    edit-2
    1 year ago

    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.

    • @lanolinoil
      link
      51 year ago

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