Re:Show HN: ALL_CAPS => sudo all_caps (Bash)
by al_form2000 on Monday October 21, 2019 @12:20PM
(#21314070)
$ foo bar baz<cr>
^P^A<esc>u
$ FOO bar baz<cr>
That's three keystrokes less - even for the history (!!) version. :-)
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.