Difference between revisions of "Talk:149: Sandwich"
(moving comment to talk page, and responding) |
(sudo requires user password) |
||
Line 2: | Line 2: | ||
:Using <code>sudo !!</code> 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 !!". [[User:Lcarsos|lcarsos]] ([[User talk:Lcarsos|talk]]) 16:46, 29 October 2012 (UTC) | :Using <code>sudo !!</code> 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 !!". [[User:Lcarsos|lcarsos]] ([[User talk:Lcarsos|talk]]) 16:46, 29 October 2012 (UTC) | ||
+ | |||
+ | <code>sudo</code> requires '''user''' password, not admin password, but you need to be in <code>sudoers</code> file. --[[User:JakubNarebski|JakubNarebski]] ([[User talk:JakubNarebski|talk]]) 12:14, 15 December 2012 (UTC) |
Revision as of 12:14, 15 December 2012
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)