La nuova BBS è in fase Alpha. I post precedenti al 22 luglio 2024 potrebbero non essere trasferibili, ma rimarranno disponibili per la lettura su /old/.
Something I learned decades ago but that I don't often see others use, on the Bash command line the key sequence "ESC ." or "Alt-." copies the last word from the previous command in shell history and inserts it the cursor of the command you're editing.
-
Something I learned decades ago but that I don't often see others use, on the Bash command line the key sequence "ESC ." or "Alt-." copies the last word from the previous command in shell history and inserts it the cursor of the command you're editing. Sometimes quite handy.
-
@liw That's remarkable. It's not often I learn something new in the Unix shell (this works on zsh as well).
Normally I'd do C-p C-a C-k, then type the new command, and press C-y to insert it where it's needed.
-
G gustavinobevilacqua@mastodon.cisti.org shared this topic on
-
Wow, thanks a lot!