Hello, From: Thibaut Cousin [mailto:linux@thibaut-cousin.net] Sent: Wednesday, March 31, 2004 3:41 PM
- locate and slocate are different. The latter is supposedly secure, i.e. it handles permission on files. locate is available with the package "findutils-locate", while slocate indeed seems to be missing in SUSE.
ups :-) ... ok !
- You never, ever have to launch updatedb manually. It's run automatically by Cron every day and after each reboot.
that may be right, but mostly i use locate after installing a program. to find all corresponding files i need to run updatedb afterwards! i had never noticed that updatedb is running as cron, but maybe it's right :) ... i don't know...
- Whereis has a very specific use which has nothing to do with locate. Whereis only looks for programs, manpages and source files related to a keyword, while locate manages a complete database of all files on the system but knows nothing of their type.
yes, but with both programs you can search for files, that's what i meant! regards frank