OLW: Sudo!!

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

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s