Show HN: ALL_CAPS => sudo all_caps (Bash)
1–10 of 26 posts
Re: Show HN: ALL_CAPS => sudo all_caps (Bash)
#2More efficient approach is to use keybinding like Ctrl+T to prepend sudo to the current command (or to the previous command if current is empty).
Re: Show HN: ALL_CAPS => sudo all_caps (Bash)
#3Re: Show HN: ALL_CAPS => sudo all_caps (Bash)
#4Re: Show HN: ALL_CAPS => sudo all_caps (Bash)
#5Re: Show HN: ALL_CAPS => sudo all_caps (Bash)
#6Most often case is when you forget to type sudo before command. This implementation propose to re-type executable name in all-caps (or type it in all-caps beforehand). More efficient approach is to use keybinding like Ctrl+T to prepend sudo to the current command (or to the previous command if current is empty).
Re: Show HN: ALL_CAPS => sudo all_caps (Bash)
#7ctrl-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)
#8up 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)
#9Re: Show HN: ALL_CAPS => sudo all_caps (Bash)
#10FYI, in bash, "sudo !!" re-runs the previous command with sudo.