Is there a way (or a specific shell) to navigate the history in the following way: let's say I wrote the following command two weeks ago:
scp ../../../file.txt ../../../...
I don't want to use the arrows to find the command because it will take too much time. Instead, I'd like to type scp
to narrow down the possibilities and then browse the history.
printenv SHELL
. – dmckee --- ex-moderator kitten Jul 22 '11 at 16:21