Re: Command ($ or #) line; smart completion?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/29/05, Berna Massingill <bmassing@xxxxxxxxxxxxxx> wrote:
> On Mon, Nov 28, 2005 at 04:18:29PM -0500, Nat Gross wrote:
>
> >>  On 11/28/05, Peter Gordon <admin@xxxxxxxxxxxxxxxxxxxxx> wrote:
> >>  > Nat Gross:
> >>  > > 1. Typing a partial command that exists in history, hit <F8>, and the
> >>  > > command either gets completed (if unique string), or a little menu is
> >>  > > presented.
> >>  > I've read that you can achieve something similar to this by using the
> >>  > PgUp/PgDn keys with GNU Bash, but I've not tried it all.
> >>  I see now that the Pg keys do something, but cant figure what its doing.
>
> Neither can I.  But the up and down arrow keys will move you up and
> down in the command history, which may be what you wanted anyway.
>
> I notice that others have also told you about some of the other neat
> tricks -- tab completion of just about everything, and control-R to
> search the history.
One neat thing re ctrl-r is that it will search history on any
*sub*string, not only the beginning of a string. So, if I have in
history:
ls -l /anydir/anydir/anyfile
ls -l somethingelse
and I do "ctrl-r anyfile", it will retrieve the line, which I can of
course edit and use with other commands.
This behaviour is not the classical history-recall buffer, but is great!

-nat


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux