Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jun 2000 17:33:00 -0700
From:      R Joseph Wright <rjoseph@mammalia.org>
To:        David Daugherty <doc@wcug.wwu.edu>
Cc:        freebsd-questions@FreeBSD.org
Subject:   Re: finding stuff
Message-ID:  <20000612173300.A90017@manatee.mammalia.org>
In-Reply-To: <Pine.LNX.3.96.1000612164959.16605A-100000@sloth>; from doc@wcug.wwu.edu on Mon, Jun 12, 2000 at 04:53:13PM -0700
References:  <200006122307.QAA03429@viper.wapvi.bc.ca> <Pine.LNX.3.96.1000612164959.16605A-100000@sloth>

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




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