[SunRescue] Locate for Solaris ??

Ken Caruso rescue at sunhelp.org
Sat May 19 04:47:35 CDT 2001


Actually thinking of it as a cached find is precisely correct in
FreeBSD-Land. If you do a /usr/libexec/locate.updatedb to update the
locate db and then do a ps you will see that it is just running find and
sending it to the database.

Thanks for all of the input


Ken Caruso

On Fri, 18 May 2001, Rich Lafferty wrote:

> On Fri, May 18, 2001 at 06:23:01PM -0500, Eric Hall (jester_123 at yahoo.com) wrote:
> > Ken Caruso wrote:
> > > 
> > > Does any one know if there is a locate or locate type utility for solaris
> > > (such as on BSD).
> > > 
> > 
> > Would that be the which command?
> > 
> > $ which perl
> > /usr/bin/perl
> 
> No, "which" is a program for csh users which looks to see where
> something would be in your path. (The sh equivalent is a builtin,
> 'type').
> 
> "locate" periodically builds a database of all of the files on your
> system which you can then use to locate a particular file (which
> doesn't have to be an executable in your path). Think of it as a
> cached find(1).
> 
> Ken, grab slocate from
> 
>   ftp://ftp.mkintraweb.com/pub/linux/slocate/src/
> 
> The "s" is "secure", which is a very relative term but refers
> to a major improvement over GNU's locate.
> 
>   -Rich
> 
> -- 
> ------------------------------ Rich Lafferty ---------------------------
>  Sysadmin/Programmer, Instructional and Information Technology Services
>    Concordia University, Montreal, QC                 (514) 848-7625
> ------------------------- rich at alcor.concordia.ca ----------------------
> _______________________________________________
> rescue maillist  -  rescue at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/rescue
> 




More information about the rescue mailing list