5 ms·
up arrow ctrl-a (readline command for beginning of line) type "sudo" Also, ctrl-w is really useful. Heck, learning the readline editing keyboard in general
by hackbinary 7y ago
up arrow
ctrl-a (readline command for beginning of line)
type "sudo"
Also, ctrl-w is really useful. Heck, learning the readline editing keyboard in general is really useful.
- apexalpha 7y agosudo !!
- al_form2000 7y ago$ foo bar baz<cr> ^P^A<esc>u $ FOO bar baz<cr> That's three keystrokes less - even for the history (!!) version. :-)