4 ms·
[ESC + .] and [ALT + .] are most definitely news ones for me. Thank you. Always learn something new here!
by pupdogg 5y ago
[ESC + .] and [ALT + .] are most definitely news ones for me. Thank you. Always learn something new here!
- loulouxiv 5y agohttps://www.gnu.org/software/bash/manual/html_node/Bindable-Readline-Commands.html https://www.gnu.org/software/bash/manual/html_node/Bindable-... is a must read.
- alex_smart 5y agoThanks, I discovered C-o thanks to you (even though I have gone through the bash manual several times). No, more having to press C-r multiple times just to get sequential group of commands from history.
- loulouxiv 5y agoYes I was also impressed when I found out about this one. However I use it far less frequently than ALT-. . ALT-# is also useful in the frequent cases where I am constructing a complicated commmand but I have to run another command before the current one. Also keep in mind that most interactive command-line tools are built upon readline and can understand all those bindings (think python REPL, mysql/psql...)
- alex_smart 5y ago>However I use it far less frequently than ALT-. Haha of course. I use it so frequently I can't imagine how anyone uses their shell without it. >can understand all those bindings I knew that but just being reminded helped me realize that C-o is probably going to be useful in the REPL as well. Thanks.
- loulouxiv 5y agoor man bash /Readline Command Names<Enter>