Y
Hacker News
new
|
ask
|
show
|
jobs
by
mixedbit
4916 days ago
I don't find this one useful. [up-arrow] automatically inserts the last command, which gives a generic mechanism to correct the command and it requires no more typing than !!: [up-arrow][control-a]sudo [enter]
1 comments
vch
4916 days ago
moving your hand over to arrow keys is why I would use the sudo !! version.
link
mixedbit
4916 days ago
[control-p] then ;)
link