you are viewing a single comment's thread
view the rest of the comments

!! is pure textual substitution, so it'd be sudo rm a.txt && rm b.txt. You could do something like sudo sh -c "!!" though.

  • source
  • parent