Or ctrl+r and start typing what you’re searching for, and repeat ctrl+r to find the next newest match.
For example, [C-r] ssh [C-r][C-r] will auto fill the 3rd most recent ssh command you’ve run. Try it, your life will be filled with rainbows and unicorns.
Or ctrl+r and start typing what you’re searching for, and repeat ctrl+r to find the next newest match.
For example,
[C-r] ssh [C-r] [C-r]
will auto fill the 3rd most recent ssh command you’ve run. Try it, your life will be filled with rainbows and unicorns.