On Sat, Feb 01, 2003 at 12:25:31AM +0100, Carel Fellinger wrote:
> On Fri, Jan 31, 2003 at 03:09:54PM +0100, Ulf Rompe wrote:
> ...
> > As an example, another useful (for me) addition to the inputrc is
> > this one:
> >
> > # Ctrl-Left/Right jumps wordwise on cmd line
> > "\e[D": backward
On Fri, Jan 31, 2003 at 03:09:54PM +0100, Ulf Rompe wrote:
...
> As an example, another useful (for me) addition to the inputrc is
> this one:
>
> # Ctrl-Left/Right jumps wordwise on cmd line
> "\e[D": backward-word
> "\e[C": forward-word
I fail to see the Control part here, it j
[EMAIL PROTECTED] writes:
> tcsh has a far more elegant (tm) approach to the problem. Typing
> "ls" (or META-P) will get you only all the commands that
> begin with "ls" (eliminating such oddities as "echo lst.txt"). If
> somebody knows the precise bash equivalent of this, let me
> know.
As I wro
On Thu, Jan 30, 2003 at 07:48:14AM +0800, [EMAIL PROTECTED] wrote:
> On 29 Jan 2003 15:54:32 -0600,
> Ron Johnson wrote:
> >
> > On Wed, 2003-01-29 at 10:28, Nathan E Norman wrote:
> > > On Wed, Jan 29, 2003 at 07:51:07PM +0530, Sandip P Deshmukh wrote:
> > > > hello all
> > > >
> > > > i am sure
On 29 Jan 2003 15:54:32 -0600,
Ron Johnson wrote:
>
> On Wed, 2003-01-29 at 10:28, Nathan E Norman wrote:
> > On Wed, Jan 29, 2003 at 07:51:07PM +0530, Sandip P Deshmukh wrote:
> > > hello all
> > >
> > > i am sure there must be a way of doing it. i am not getting it though.
> > >
> > > let us s
On Wed, Jan 29, 2003 at 11:31:54AM -0500, Matthew Weier O'Phinney wrote:
> -- Sandip P Deshmukh <[EMAIL PROTECTED]> 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
On Wed, Jan 29, 2003 at 10:28:11AM -0600, Nathan E Norman wrote:
> On Wed, Jan 29, 2003 at 07:51:07PM +0530, Sandip P Deshmukh wrote:
> >
> > 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
On Wed, Jan 29, 2003 at 04:30:54PM +0100, Stephen Rueger wrote:
> On Wed, Jan 29, 2003 at 07:51:07PM +0530, Sandip P Deshmukh wrote:
> > 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
> The .bash_history is only written when bash is exiting, so it won't
> include commands you recently typed within the same session. That is to
> say, it won't have anything since you most recently logged in. It's
> also prone to missing some commands from previous sessions as well, in
> cases in
* Jason Pepas ([EMAIL PROTECTED]) [030129 10:33]:
> On Wednesday 29 January 2003 08:21 am, Sandip P Deshmukh wrote:
> > 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
> >
On Wed, 2003-01-29 at 10:28, Nathan E Norman wrote:
> On Wed, Jan 29, 2003 at 07:51:07PM +0530, Sandip P Deshmukh wrote:
> > hello all
> >
> > i am sure there must be a way of doing it. i am not getting it though.
> >
> > let us say, i have done ls -l , etc etc
> > then i have done a few more com
On Wed, 29 Jan 2003 16:30:54 +0100
Stephen Rueger <[EMAIL PROTECTED]> wrote:
> On Wed, Jan 29, 2003 at 07:51:07PM +0530, Sandip P Deshmukh wrote:
> > let us say, i have done ls -l , etc etc
> > then i have done a few more commands at the prompt.
Ahoj!
maybe you can try '!smth'
it's mean last com
On Wed, Jan 29, 2003 at 07:51:07PM +0530, Sandip P Deshmukh wrote:
[find a command in shell history]
Another way is to use the 'history' command (and pipe it through
grep).
-D
--
Whoever loves discipline loves knowledge,
but he who hates correction is stupid.
Proverbs 12:1
http://dman
Hi,
maybe what you are looking for is:
!first_letter_of_the_command
i.e.: in the case of ls -l, if you use !l, it will repeat the last used
command that started with the letter l.
Rod
On Wed, 29 Jan 2003, Sandip P Deshmukh wrote:
> hello all
>
> i am sure there must be a way of doi
On Wed, Jan 29, 2003 at 07:51:07PM +0530, Sandip P Deshmukh wrote:
> hello all
>
> i am sure there must be a way of doing it. i am not getting it though.
>
> 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
To: [EMAIL PROTECTED]
> Subject: Re: find a command i have recently used in bash
>
>
> On Wed, 29 Jan 2003, Sandip P Deshmukh wrote:
>
> > 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 so
On Wednesday 29 January 2003 15:21, Sandip P Deshmukh wrote:
> hello all
>
> i am sure there must be a way of doing it. i am not getting it though.
>
> 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 t
On Wednesday 29 January 2003 08:21 am, Sandip P Deshmukh wrote:
> hello all
>
> i am sure there must be a way of doing it. i am not getting it though.
>
> 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 t
This one time, at band camp, Sandip P Deshmukh said:
> hello all
>
> i am sure there must be a way of doing it. i am not getting it though.
>
> 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 w
>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?
>
>--
>regards,
>sandip p deshmukh
Sure - to complete the prior command beginning with ls, do:
!ls
which will re-execute the last comment beginning with "ls".
If you need finer-grained history, use the command:
history
which will let you copy-and-paste a prior command.
ap
--
-- Sandip P Deshmukh <[EMAIL PROTECTED]> wrote
(on Wednesday, 29 January 2003, 07:51 PM +0530):
> i am sure there must be a way of doing it. i am not getting it though.
>
> 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
On Wed, Jan 29, 2003 at 07:51:07PM +0530, Sandip P Deshmukh wrote:
> hello all
>
> i am sure there must be a way of doing it. i am not getting it though.
>
> 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
On Wed, Jan 29, 2003 at 07:51:07PM +0530, Sandip P Deshmukh wrote:
> 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 k
On Wed, Jan 29, 2003 at 07:51:07PM +0530, Sandip P Deshmukh wrote:
> 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 k
On Wed, 29 Jan 2003, Sandip P Deshmukh wrote:
> 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?
well, if nothing else, you can hit up a few times and it'll scroll through
your
hello all
i am sure there must be a way of doing it. i am not getting it though.
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 o
27 matches
Mail list logo