bash completion

Mauro Grauso maurograuso at gmail.com
Mon Mar 3 11:17:27 UTC 2008


You don't have to setup anything special just use CTRL+r and type
something. Bash searches in the command history and fills the command.
To search for the next occurrence of your search string use CTRL-r
again.

It's advisable to increase your search history size too. Edit your
.bashrc file (~/.bashrc) and increase the HISTFILESIZE and the
HISTSIZE variables.

eg. add the following to the file:

HISTFILESIZE=1000000 HISTSIZE=10000


cheers,
Mauro




On Mon, Mar 3, 2008 at 11:03 AM, Constantinos Maltezos
<pandarsson at yahoo.com> wrote:
> If there are any command line experts here, maybe you can answer a quick
>  question:
>
>  On my desktop machine, bash allows me to type a partial command, press page up
>  and cycle through the commands in my history that start with what I typed.
>  How do I set up bash so it'll work that way on this machine?
>
>  --
>  kubuntu-users mailing list
>  kubuntu-users at lists.ubuntu.com
>  Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/kubuntu-users
>




More information about the kubuntu-users mailing list