'updatedb' : is it really mandatory, can I switch it off and how ?!

Dennis Kaarsemaker dennis at kaarsemaker.net
Sat Nov 27 17:04:38 UTC 2004


On Sat, 2004-11-27 at 19:20 +1100, Ben McGinnes wrote:

> By the way, if you install a new binary (even into an existing path,
> like /usr/bin or /usr/local/bin) you will not be able to get tab
> completion of the binary name unless you run updatedb.

That is not correct:

raptor:~# touch /bin/foobar
raptor:~# chmod +x /bin/foobar
raptor:~# foo <tab pressed twice here>
foobar                                 foomatic-nonumericalids
foomatic-addpjloptions                 foomatic-perl-data
foomatic-combo-xml                     foomatic-ppd-options
foomatic-compiledb                     foomatic-ppdfile
foomatic-configure                     foomatic-preferred-driver
foomatic-datafile
foomatic-printermap-to-gimp-print-xml
foomatic-fix-xml                       foomatic-printjob
foomatic-getpjloptions                 foomatic-replaceoldprinterids
foomatic-gswrapper                     foomatic-rip
foomatic-kitload
raptor:~# foo
-- 
Dennis K.
  And that's the way the cookie crumbles!





More information about the ubuntu-users mailing list