Date: Fri, 8 Oct 2004 08:25:57 -0500 From: Dave Vollenweider <metaridley@mchsi.com> To: freebsd-newbies@freebsd.org Subject: Re: How to find directory? Message-ID: <20041008082557.262802f1.metaridley@mchsi.com> In-Reply-To: <004901c4acb5$8d65bed0$0601a8c0@M2> References: <004901c4acb5$8d65bed0$0601a8c0@M2>
next in thread | previous in thread | raw e-mail | index | archive | help
Questions like this are supposed to go to freebsd-questions, but I'll give you one freebie. There are two commands you can use: find and locate. The difference is that locate works with a database of all the files on the system, while find searches the hard drive directly. The locate database is only updated once a week on default installations, so you'll probably have better luck with find. Here's the syntax I use that I've found to work: find [directory to start in and go down from] -[i]name [name of file or directory] Add the i to iname (-iname) if you want the search to be case-insensitive. locate is even easier: locate [name of fie or directory] Hope this helps. - Dave V. On Thu, 7 Oct 2004 14:35:17 -0700 "Lynette Tillner" <ltillner@avs-1.com> 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! > _______________________________________________ > freebsd-newbies@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-newbies > To unsubscribe, send any mail to "freebsd-newbies-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041008082557.262802f1.metaridley>