Re: find a command i have recently used in bash
On Wed, Jan 29, 2003 at 11:31:54AM -0500, Matthew Weier O'Phinney wrote:
> -- Sandip P Deshmukh <deshmukh@escortsmumbai.com> wrote
> (on Wednesday, 29 January 2003, 07:51 PM +0530):
> >
> > let us say, i have done ls -l , etc etc
> > then i have done a few more commands at the prompt.
> >
> > now, i want to use that ls command again. is there a way inwhich i can
> > reach it quickly? for instance, i type ls and some other key and bash
> > completes from history?
>
> I don't know about that, but if you hit your up-arrow, it will scroll
> backwards through the command history -- I do this a lot to save on
> keystrokes.
i will recommend control r for you. very useful! try it, harness the
power
;)
--
regards,
sandip p deshmukh
------***--------
In a whiskey it's age, in a cigarette it's taste and in a sports car
it's impossible.
Reply to: