[ale] i hate csh

Chris Fowler cfowler at outpostsentinel.com
Fri Jan 25 18:34:19 EST 2002


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]
To: ale at ale.org
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.






More information about the Ale mailing list