Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Jun 2000 01:13:49 -0500 (CDT)
From:      Mike Meyer <mwm@mired.org>
To:        questions@FreeBSD.ORG
Subject:   Re: "locate" in Solaris?
Message-ID:  <14673.44701.225206.446214@guru.mired.org>
In-Reply-To: <bulk.79595.20000621220352@hub.freebsd.org>
References:  <bulk.79595.20000621220352@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
From: Sam Xie <sam@samxie.cl.msu.edu>
>     The utility "locate" is very handy and easy to install in FreeBSD. I am
> wondering how to install the locate utility in Solaris2.6?  If anybody knows
> how, please let me know!

It's been a while since I looked at a Solaris box, but IIRC, something
like that is there, but disabled. If the "find" command is invoked
with no directories (first argument starts with a "-"), it behaves
sort of like locate. However, the database that it checks is not built
by default; you need to build it, then add a cron entry to rebuild it
at regular intervals. Check the find man page for more info.

Of course, I could be remembering a completely different Unix variant.

	<mike



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?14673.44701.225206.446214>