🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.bsd
Article #6007

Re: Locate/fast-find (Was: Re: Shared lib X for 386bsd?)

#6007
From: David Fox
Date: Mon, 11 Jan 1993 03:07
21 lines
1281 bytes
In article <EWERLID.93Jan8222423@ida.docs.uu.se> you write:

I tried mailing this, but it bounced.

>A very useful command is `locate' or `fast find'.
>Just run `updatedb' at regular intervalls.

I have something similar, but probably not in the same format that
locate can use.  It's part of a 386bsd program 'fs' that shows all
open files.  There's a program 'fsmakedb' that makes a database of
all files in the filesystem, and I run it as part of /etc/rc.

>Anyway, rather than asking the net where a file in my own filessytem
>is I'd run a brute force 'find / -print | grep xterm'. :-)

Actually, the '-print' is superflous, just ' find . | grep xterm' should
work.  And, that's pretty fast in finding files, too.

--
David Fox
dfox@quack.sac.ca.us
Technical Details
Message-ID: <fXOtCvR@quack.sac.ca.us>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!ames!pacbell.com!UB.com!quack!dfox
References: <1993Jan8.050552.11116@ntuix.ntu.ac.sg>

Show Full Headers
Complete Article Headers
Newsgroups: comp.unix.bsd
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!ames!pacbell.com!UB.com!quack!dfox
From: dfox@quack.sac.ca.us (David Fox)
Subject: Re: Locate/fast-find (Was: Re: Shared lib X for 386bsd?)
In-Reply-To: <EWERLID.93Jan8222423@ida.docs.uu.se>
Message-ID: <fXOtCvR@quack.sac.ca.us>
Organization: The Duck Pond public unix: +1 408 249 9630, log in as 'guest'.
References: <1993Jan8.050552.11116@ntuix.ntu.ac.sg>
Date: 11 Jan 1993 03:07:58 UTC
Lines: 25