bash gurus
Condon Thomas A KPWA
tcondon
Mon May 17 11:33:34 PDT 2004
I should have mentioned in the last note:
! is the start of access to history.
!$ means the last item on the previous command line.
!! is the last command issued.
!nn is command nn in the history file.
etc.
Read up in man history & man bash. Regexp & regsub may also be of some use,
since you can perform edits on these commands.
In Harmony's Way, and In A Chord,
Tom :-})
Thomas A. Condon
Barbershop Bass Singer
Registered Linux User #154358
> -----Original Message-----
> From: Nate Cole [mailto:cole_n_g at yahoo.com]
> Sent: Wednesday, June 19, 2002 1:20 PM
> To: Linux Users
> Subject: bash gurus
>
>
> 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?
>
> TIA,
> Nate
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! - Official partner of 2002 FIFA World Cup
> http://fifaworldcup.yahoo.com
> _______________________________________________
> Linux-users mailing list -
http://linux-sxs.org/mailman/listinfo/linux-users
Subscribe/Unsubscribe info, Archives,and Digests are located at the above
URL.
More information about the Linux-users
mailing list