On Wed, 2003-12-31 at 00:52, Robert Spangler wrote: > On Tue December 30 2003 02:37, Ralph E. Kenyon, Jr. wrote: > > > I'm just getting started with Linux. The bash command recall seems to be > > very simple compared to what I'm used to. Bash only allows up and down > > arrows to scroll through the entire .bash_history file one command at a > > time. > > Here is a way to jump directly to the command in the .bash_history file. > > Edit your /etc/inputrc file and add the following: > > "\M-[A":history-search-backward > "\M-[B":history-search-forward does this work on rh9 only? coz i did it in rh8 it didn't work for me.... > > Then restart bash type the first letter or 2 of a previously typed command and > you will jump to that command. The more letter you type in first the more > you will narrow the search to. > > > By typing part of a previously used command, and then pressing the up or > > down arrows, scrolling is limited to only those command which match the > > letters that have been typed. (The history can also be configured to > > eliminate storing duplicates of commands that are re-executed.) > > The above will do exactly this for you. > > > -- > > Regards > Robert > > Smile..... It increases your face value. > -- Shrike-list mailing list Shrike-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/shrike-list