News for hackers. Stuff that matters.
Re:Show HN: ALL_CAPS => sudo all_caps (Bash) by hackbinary on Monday October 21, 2019 @10:36AM (#21312729)
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.

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. :-)
Re:Show HN: ALL_CAPS =&gt; sudo all_caps (Bash) by apexalpha on Monday October 21, 2019 @10:43AM (#21312803)
sudo !!