sudo bang bang

Ha! This just occured to me:

sudo bang bang
Original comic from xkcd by Randall Munroe

12 Comments

Joe Ruby

Hilarious!

Bri/Dad

I’m slow, but I finally got it. Thanks I learned something new. I’ve used bang number, but never bang bang before.

Comes in handy on Ubuntu which disables the root user by default. Bang dollar also very handy for substituting in the last argument of the previous command.

Even better than the original, I think :)

hey

i dont get it

sudo monster

will someone explain thank you please.

AIX

Even better than the inside joke is the art work. The root of humor is a kernel of truth within the shell of experience.

bob smiley

Sudo !! (aka: “sudo bang bang”). Some Linux distros have you login as a user instead of an administrator. So, to do something admin-wise, you have to proceed the command with “sudo” (Super-User DO), which tells the system “you will do this, because I’m God and I said so.” The !! / bang-bang (! = bang) is basically a shortcut you can use to repeat the previous command. So, typical scenario is that you try a command, and it kicks back a message saying you have to be an admin to do that. So, you can either type “sudo ” to run that command as super-user/admin, or you can type “sudo !!” where !! tells the system to use the previous command that was attempted. The original XKCD comic had “make me a sandwich … sudo make me s sandwich”. Here, he used the “bang bang” as computer jargon to repeat the previous command that failed. And that, my friends, is TMI (too much information.)

skinnybones

Thank you bob smiley. That was so much funnier.once I read the explanation. Lol :)

Just occurred to me: the guy on the armchair should be holding a stick-figure gun.

Hi Justin!
I was writing a post about sudo bang bang and found your hilarious version of the xkcd comic. I put it on my post, linking to your blog of course. Hope it’s OK!

Here’s the post: http://blog.alestanis.com/2013/02/27/the-bang-bang-command/

Care to Comment?

Or if you'd prefer to get in touch privately, please send me an email.

Name

Email (optional)

Blog (optional)