Shell tab-completion and other helpful command-line tricks

Derek Broughton derek at
Sat Jan 24 13:59:47 UTC 2009

Jonas Norlander wrote:

> 2009/1/24 Nils Kassube <kassube at>:
>> Donn wrote:
>>> On Saturday, 24 January 2009 10:12:41 Nils Kassube wrote:
>>> > 2. The command completion doesn't work within quotes. Using the file
>>> > name above it wouldn't work if I type this:
>>> >
>>> > ls "is<tab>
>>> >
>>> > So if you want to use command completion, don't use quotes.
>>> Works fine for me....
>> Oops, now it works here as well. I must have mistyped it when I tried it
>> earlier this morning, maybe it was a lack of coffee? Anyway, sorry - and
>> scratch that part.
> That on the other hand don't work for me, neither in Konsole or on a
> "pure" console.

Nor  me - and I really wouldn't have expected it to. Since bash explicitly 
prevents expansion of anything inside double quotes, it seems perfectly 
normal that bash completion can't work.

However, that last "belief" is obviously wrong (!) as I find the completion 
works in some cases at least:

> "apt-c<tab>
> apt-cache   apt-cdrom   apt-config

More information about the kubuntu-users mailing list