From owner-freebsd-questions Mon Jun 12 17:33:11 2000 Delivered-To: freebsd-questions@freebsd.org Received: from manatee.mammalia.org (manatee.mammalia.org [216.231.50.6]) by hub.freebsd.org (Postfix) with ESMTP id A538537BC0F for ; Mon, 12 Jun 2000 17:33:08 -0700 (PDT) (envelope-from rjoseph@manatee.mammalia.org) Received: (from rjoseph@localhost) by manatee.mammalia.org (8.9.3/8.9.3) id RAA90054; Mon, 12 Jun 2000 17:33:00 -0700 (PDT) (envelope-from rjoseph) Date: Mon, 12 Jun 2000 17:33:00 -0700 From: R Joseph Wright To: David Daugherty Cc: freebsd-questions@FreeBSD.org Subject: Re: finding stuff Message-ID: <20000612173300.A90017@manatee.mammalia.org> References: <200006122307.QAA03429@viper.wapvi.bc.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: ; from doc@wcug.wwu.edu on Mon, Jun 12, 2000 at 04:53:13PM -0700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Jun 12, 2000 at 04:53:13PM -0700, David Daugherty wrote: > On Mon, 12 Jun 2000, Tyler Spivey wrote: > > > where can i find postgresql? apache? and php3?.. postgresql isn't listed in the index file. > The best way I've found for finding things in my system is to cd into / > then as root run du -a > mydir.txt. This will place a path to each file on > one line in a text file. Now, you can just 'grep postgresql mydir.txt' to > find postgresql. Mydir.txt will be a pretty big text file but it's worth > it not having to wait for the alternative of using find. That's what the 'locate' command is for, as in 'locate postgresql'. It will basically do the exact same thing, and the database is automatically updated on a weekly(?) basis by default. > > David > Software Engineer - NetManage > Work email: david.daugherty@netmanage.com > Home email: doc@wcug.wwu.edu > ICQ 21106703 > Washington State Resident > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message