This is more of a #Linux #bash shell one liner, but incredibly useful. Many of you may relate to the “Sudo make me a sandwich” joke. What you may not know? sudo!! executes sudo on the last command you tried which failed.
The joke could actually be retold as follows:
Person1: Make me a sandwich
Person 2: What? Make it yourself.
Person 1: sudo!!
Person 2: Okay.
“The easiest time to add insult to injury is when you’re signing somebody’s cast” – Demetri Martin