From owner-freebsd-questions Thu Jun 22 2: 1:13 2000 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (zoom0-074.telepath.com [216.14.0.74]) by hub.freebsd.org (Postfix) with SMTP id 7E28D37C20F for ; Thu, 22 Jun 2000 02:01:08 -0700 (PDT) (envelope-from mwm@mired.org) Received: (qmail 674 invoked by uid 100); 22 Jun 2000 06:13:49 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14673.44701.225206.446214@guru.mired.org> Date: Thu, 22 Jun 2000 01:13:49 -0500 (CDT) To: questions@FreeBSD.ORG Subject: Re: "locate" in Solaris? In-Reply-To: References: X-Mailer: VM 6.72 under 21.1 (patch 3) "Acadia" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG From: Sam Xie > 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.