On Fri, 2005-04-15 at 00:23 +1000, Voytek wrote: > I'm trying to find a specific file withing a web tree, what the way to do it: > > I tried this with no luck > > # locate /home/domain.org.au localconf.php > only to get > find: localconf.php: No such file or directory
Locate uses a database of file names. This database may not be up to date, or the updater may not crawl that directory. Not sure. I think what you want is find. # find /home/domain.org.au -name localconf.php You may prefer to use -iname , for case-insensitive searching. There's a whole mess of other funky options for find. Check out the man page. -- Pete -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
