Well, locate at least doesn't work the way you describe. It doesn't do direct searches. You first create a database catalog of your entire system using the updatedb command (usually run on a regular basis using cron), and the locate command searches that. That's what makes it more convenient to use than find in most instances, since it can come up with results much more quickly.
I'd say that if locate isn't coming up with your file, then either you haven't run updatedb in a long time, or it just doesn't exist as that search term.
And as for find, if you start the search from /, then it should definitely be searching the whole system. Heck, you can watch the output in the terminal as it's searching so it should be obvious whether it's working or not. Again, if it's not coming up with a match, it probably just doesn't exist.
Last edited by David the H.; 12-01-2006 at 05:18 AM.
|