bash completion function

Robert Spanjaard spamtrap at
Mon Nov 19 19:06:33 UTC 2007

On Mon, 19 Nov 2007 13:07:34 +0800, 黄叶 wrote:

> I got one issue in ubuntu bash .
> I Fedora , I use the bash completion like this: perl -d li1<tab>, it will
> show a list, li1 as prefix.
> but in ubuntu, I just input this: perl -d li1<tab>, no anything is not
> happen.
> why?
> how to deal with this?

Pressing <tab> once will only give a result if there's only one
possibility. When there are more, pressing <tab> will only produce a beep
signal. Pressing <tab> again after the beep will give you the list.

So, in short, press <tab> twice to get a list. :-)

Regards, Robert                            

More information about the ubuntu-users mailing list