3 ms·
My favorite bash trick is still Ctrl-O: submit command and advance history by one. If you ever find yourself counting up-arrows to repeat a sequence of command
by shubber 16y ago
My favorite bash trick is still Ctrl-O: submit command and advance history by one.
If you ever find yourself counting up-arrows to repeat a sequence of commands (that aren't worth scripting for whatever reason), next time, go to the top of the list and hit Ctrl-O. The result is the the command runs, and the one after it in the history is loaded into you prompt.