|
|
|
|
|
by kami8845
4915 days ago
|
|
I disagree. I think typing one more command "sudo !!" is much easier and straight-forward than doing 1. Ctrl+p. Go to the previous line in bash history. 2. Ctrl+a. Go to the beginning of the new line. 3. Type "sudo ". While you're typing your whole commandline shifts around as well. The latter mixes history commands, navigation commands and also modifies a previous command instead of just typing a new 7-letter command. It's also more in terms of keystrokes (though just barely). |
|