Talk:149: Sandwich
Note that it is more effective to write "sudo !!" to redo the last command but with sudo added to it. -- Agge.se (talk) (please sign your comments with ~~~~)
- Using
sudo !!
outputs the previous command with sudo into your bash (other shells as well) history, so to bash what you said was "sudo make me a sandwich" not "sudo !!". lcarsos (talk) 16:46, 29 October 2012 (UTC)
sudo
requires user password, not admin password, but you need to be in sudoers
file. --JakubNarebski (talk) 12:14, 15 December 2012 (UTC)
- How many people will know the difference? In a typical Ubuntu-family install with only one human user, root doesn't have a password, but the one user who does is a sudoer (and has to use
sudo
orsu
to act as root, rather than doing so starting at login). Promethean (talk) 06:08, 30 August 2013 (UTC)
"the user first must type their password" This is not accurate. It is the default, but many domains disable that requirement. 173.245.52.92 06:47, 14 January 2015 (UTC)
I believe the original comic actually read "Sudo bang bang" instead of "Sudo make me a sandwich". Here's a link to what I think is a copy of the original. I'm not sure which of the two is actually the original. 99.95.158.248 (talk) (please sign your comments with ~~~~)
- The words "bang bang" (particularly the first B) look a bit fuzzy/pixelated compared to the rest of the text, which gives me the feeling that it was edited from this one, which is the original. Zowayix (talk) 23:03, 23 January 2014 (UTC)
- If you click on the image (on the Stack Overflow link), it leads you to http://justinsomnia.org/2006/09/sudo-bang-bang/, which says: 'This just occurred to me' [comic] 'Original comic from xkcd by Randall Munroe', implying it was indeed edited. 141.101.99.14 20:42, 11 August 2014 (UTC)
Comment: This conversation is an easter egg in Google Now on Android tablet. Using voice search to say "make me a sandwich" will give the reply "what? make it yourself", adding "sudo" will get the response "ok". I assume the Google now implementation came later and is based on xkcd. 141.101.99.27 (talk) (please sign your comments with ~~~~)
This reworked for the Make utility: $ make sandwich Must be root $ sudo make sandwich cc sandwich mv sandwich /etc/sandwich sandwich installed in /etc $ _