Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Oct 2004 15:28:12 +0200
From:      Geert Hendrickx <geert.hendrickx@ua.ac.be>
To:        Lynette Tillner <ltillner@avs-1.com>
Cc:        freebsd-newbies@freebsd.org
Subject:   Re: How to find directory?
Message-ID:  <20041008132812.GA72227@lori.mine.nu>
In-Reply-To: <004901c4acb5$8d65bed0$0601a8c0@M2>
References:  <004901c4acb5$8d65bed0$0601a8c0@M2>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041008132812.GA72227>