4 ms·
^R in bash to search command history.
by dcminter 6y ago
^R in bash to search command history.
- karmakaze 6y agoSimilarly I knew about Ctrl+U delete from cursor to beginning of line but learned of (or had forgotten about) Ctrl+K delete from cursor to end of line many years later.
- stevekemp 6y agoThis comes from readline, and there are many many useful shortcuts. For example "M-." (i.e. "Escape", then ".") to insert the last argument of the previous command. This is great when you run something like: ls /path/to/foo cd M-.