bash gurus

David A. Bandel david
Mon May 17 11:33:34 PDT 2004


On Wed, 19 Jun 2002 13:19:33 -0700 (PDT)
begin  Nate Cole <cole_n_g at yahoo.com> spewed forth:

> All,
> 
> I have a question for all you bash gurus.  I like the way when
> the "up" arrow is pressed, it cycles through the history of
> commands.  What I want to do is type a few letters and maybe
> the "right" arrow and have the first history matching the
> letters typed show up.  Subsequent "rights" would cycle through
> the other matching history values.
> 
> Is this possible?

use the bang sign (!) followed by the partial command:

!ssh

takes me to the last site I went to via ssh.

Ciao,

David A. Bandel
-- 
Focus on the dream, not the competition.
		-- Nemesis Racing Team motto



More information about the Linux-users mailing list