i am not positive if this is coreect, but i think you can type 'ctrl-r' and 
then also start typing the first couple of letters, bash will begin matching 
recent commands that begin with those letters, when you make a match, press 
return


>From: Michael B Golden <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: shells)
>Date: Tue, 24 Aug 1999 20:49:39 EDT
>
>On Tue, 24 Aug 1999 02:22:27 -0400 "Kurt Kehler"
><[EMAIL PROTECTED]> writes:
> >On Tue, 24 Aug 1999 00:50:41 EDT, [EMAIL PROTECTED] wrote:
> >
> >>It seems reasonable to me that if I can't catch it with shift-page
> >up, I
> >>can recall the command with up-arrow, append |less to it, and run it
> >>again, so I haven't made a serious attemp to find where that is set.
> >
> >It now seems very reasonable to me also. :)   And leads to a question
> >about up-arrow history.  How do you recall a command which may be 17
> >up-arrows away?  MS-DOS 5 had doskey, i.e. F8 + letter(s) would recall
> >the most recent command that began with that(those) letter(s).  I want
> >to do something similar with bash but am unsure of the unix way (other
> >than pressing up-arrow 17 times.)
>
>Type 'history' and it will give you a long list of the previous commands.
>Then type !n with n being the command number reported by history, and you
>are off. :)
>
>---------------------------------------------------------------------------------------------------------------------
>Michael Golden
>[EMAIL PROTECTED] (Normal, no attachments)
>[EMAIL PROTECTED] (Only for messages with attachments.)
>RedHat 5.2 (2.2.5) Linux user -- Linux Advocate
>
>___________________________________________________________________
>Get the Internet just the way you want it.
>Free software, free e-mail, and free Internet access for a month!
>Try Juno Web: http://dl.www.juno.com/dynoget/tagj.


_______________________________________________________________
Get Free Email and Do More On The Web. Visit http://www.msn.com

Reply via email to