From owner-freebsd-newbies@FreeBSD.ORG Fri Oct 8 13:26:39 2004 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D836A16A4CE for ; Fri, 8 Oct 2004 13:26:39 +0000 (GMT) Received: from sccmmhc92.asp.att.net (sccmmhc92.asp.att.net [204.127.203.212]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8EF7E43D39 for ; Fri, 8 Oct 2004 13:26:39 +0000 (GMT) (envelope-from metaridley@mchsi.com) Received: from kaworu.dave.cedar-falls.ia.us (12-219-24-19.client.mchsi.com[12.219.24.19]) by sccmmhc92.asp.att.net (sccmmhc92) with SMTP id <20041008132638m9200as1vne>; Fri, 8 Oct 2004 13:26:38 +0000 Date: Fri, 8 Oct 2004 08:25:57 -0500 From: Dave Vollenweider To: freebsd-newbies@freebsd.org Message-Id: <20041008082557.262802f1.metaridley@mchsi.com> In-Reply-To: <004901c4acb5$8d65bed0$0601a8c0@M2> References: <004901c4acb5$8d65bed0$0601a8c0@M2> X-Mailer: Sylpheed version 0.9.12-gtk2-20040622 (GTK+ 2.4.9; i386-portbld-freebsd5.2.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: How to find directory? X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Oct 2004 13:26:40 -0000 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" 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"