Recently there was mention of a line added to a configuration file to obtain automatic completion of command line entries, that is enter a few letters and press the up arrow to complete the command.
I reinstalled/reformatted RH-9 and lost that change and have not been able to locate it. If anyone understands what I'm talking about I would appreciate receiving that information once more.
Thank you.
Bob Goodwin
I think this is what you want:
2003 11:52:33 -0500, Robert Spangler <bms@xxxxxxxxxxxxxxxx> wrote:
On Tue December 30 2003 02:37, Ralph E. Kenyon, Jr. wrote:Here is a way to jump directly to the command in the .bash_history file.
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.
Edit your /etc/inputrc file and add the following:
"\M-[A":history-search-backward
"\M-[B":history-search-forward
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.
-- http://www.xenodochy.org/ralph.html Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
-- Ralph E. Kenyon, Jr. http://www.xenodochy.org/ralph.html 191 White Oaks Road Williamstown, MA 01267-2259 Phone: 413-458-3597 / 2693
Home pages:
http://www.xenodochy.org
http://www.ballroomdances.org
-------------------------------------------------------
FIGHT SPAM http://www.xenodochy.org/diogenes/antispam.html
(If you are thinking about collecting my email address, read the above page first!)
--------------------------------------------------------
Keep our semantic environments and cyberspace clean.
Always report errors discovered while surfing the web.
------------------------------------------------------
My favorite saying (from general semantics):
It's not that seeing is believing, believing is seeing,
and we're much better at believing than we are at seeing.
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
-- Shrike-list mailing list Shrike-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/shrike-list