Command Line Trick Needed

Chris Rouch crouch at pobox.com
Tue Nov 23 14:43:25 UTC 2004


On Mon, 22 Nov 2004 22:34:10 -0500
Robert Spangler <bms at zoominternet.net> wrote:

> Hi,
> 
> A while back I had a command line trick that I liked very well.
> 
> All one had to do was type in a few characters of a string from a
> previously entered command and press the up/down arrow keys.  This
> would cycle through your command history but only displayed the
> commands that matched the string you entered.  This would make
> repeating commands a lot faster and easier.
> 
> Problem is since the HD crash I have lost this piece of information ad
> was wondering if any of you know where I might find something like
> this again?
> 
> Thanks for your help

Are you looking for this (to go in .inputrc)?

"\M-[A":history-search-backward
"\M-[B":history-search-forward
"\M-[C":forward-char
"\M-[D":backward-char


Regards,

Chris




More information about the fedora-list mailing list