Re: Command Line Trick Needed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 22 Nov 2004 22:34:10 -0500
Robert Spangler <bms@xxxxxxxxxxxxxxxx> 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


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux