Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Jan 2002 11:17:45 -0500
From:      mpd <mpd6334@cs.rit.edu>
To:        Philip Paeps <philip@paeps.cx>
Cc:        questions@freebsd.org
Subject:   Re: Differences between FreeBSD and Mandrake
Message-ID:  <20020107111745.A1789@rochester.rr.com>
In-Reply-To: <20020107170358.B561@beastie.paeps.cx>; from philip@paeps.cx on Mon, Jan 07, 2002 at 05:03:59PM %2B0100
References:  <016a01c1976f$1244b020$0401a8c0@Hewey> <20020107170358.B561@beastie.paeps.cx>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jan 07, 2002 at 05:03:59PM +0100, Philip Paeps wrote:
> On Mon, Jan 07, 2002 at 06:33:04AM -0500, Allen May wrote:

>  
> > I use "locate" a lot.. I could find "locate" on my FreeBSD machine.. 
> > what's the equivelent?
> 
> I'm not exactly familiar with the function of 'locate' but 'whereis' will tell
> you where a thing is in your $PATH, and find(1) is still the old standby if
> you've lost something.

% which locate
/usr/bin/locate
%

The database is updated once each week (according to locate.updatedb(8))
so you may wish to change that.

locate compiles information into a database using find, and then
queries that database when a locate request is issued.

RTFM for more info.

> 
>  - Philip
> 

mike
-- 
___________________________________________________________
 
"TRAGIC! HEY, WHY DON'T WE LOOK AT YOUR WORK AND
	I WILL GIVE YOU SOME TIPS!!"
	- Mr. Nutty from "THE MR NUTTY SCHOOL OF
		PLACEMAT DESIGN"

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?20020107111745.A1789>