[ale] i hate csh
Prasanna Subash
subash at skyline.external.hp.com
Mon Jan 28 17:09:02 EST 2002
In vi mode you could do an ESC-/ and search for patterns in the history, in
ksh.
On Friday 25 January 2002 06:34 pm, Chris Fowler wrote:
> I know in ksh you had to set up the history.
>
> set -o emacs
>
>
> -----Original Message-----
> From: Swantje Willms [mailto:swillms at mail.sis.pitt.edu]
> Sent: Friday, January 25, 2002 6:12 PM
> To: Michael Golden
> Cc: ale at ale.org
> Subject: Re: [ale] i hate csh
>
>
> Or you can go backwards in your history with Ctrl-p and then just hit
> Return to execute that command again.
>
> On 25 Jan 2002, Michael Golden wrote:
> > > I don't think bash does that. Speaking of which, I also miss the
> > > "r" command in ksh for repeating a command in your history ...
> >
> > I'm not familiar with ksh so I'm not sure exactly what "r" command you
> > mean. But, in bash, you can run "history" to get a list of all of the
> > commands you've run. (I assume it pulls them from ~/.bash_history) and
> > then you can run "!?" replacing ? with the number as reported by
> > history. Is that similar?
> >
> > Michael
> >
> > ---
> > This message has been sent through the ALE general discussion list.
> > See http://www.ale.org/mailing-lists.shtml for more info. Problems should
>
> be
>
> > sent to listmaster at ale dot org.
>
> ---
> This message has been sent through the ALE general discussion list.
> See http://www.ale.org/mailing-lists.shtml for more info. Problems should
> be sent to listmaster at ale dot org.
>
>
>
>
> ---
> This message has been sent through the ALE general discussion list.
> See http://www.ale.org/mailing-lists.shtml for more info. Problems should
> be sent to listmaster at ale dot org.
--
------------------------------------------------------------------------
Prasanna Subash | You can measure a programmer's perspective
| by noting his attitude on the continuing
Linux, the choice | viability of FORTRAN. -- Alan Perlis
of a GNU generation -o) |
Kernel 2.4.8-26mdk /\ |
on a i686 _\_v |
|
------------------------------------------------------------------------
---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be
sent to listmaster at ale dot org.
More information about the Ale
mailing list