How to find directory?

Geert Hendrickx geert.hendrickx at ua.ac.be
Fri Oct 8 06:28:32 PDT 2004


On Thu, Oct 07, 2004 at 02:35:17PM -0700, Lynette Tillner wrote:
> I just installed Apache::ASP using cpan and am looking for the examples directory
> 
> it's supposedly in:  
> 
> ./site/eg/ 
> 
> 
> How do I find this on my system???????????????
> 
> Thanks!

If you leave your system powered on 24/7, it will periodically create a
database of all (world-traversable) directories/files on your system
(via cron).  You can then easily search this database using locate(1),
e.g.: locate 'site/eg'.  

You can manually create/update this database with 
/usr/libexec/locate.updatedb (it may take a while).  

GH

-- 
:wq


More information about the freebsd-newbies mailing list