home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / unix / bsd / 11112 < prev    next >
Encoding:
Text File  |  1993-01-10  |  1.2 KB  |  37 lines

  1. Newsgroups: comp.unix.bsd
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!ames!pacbell.com!UB.com!quack!dfox
  3. From: dfox@quack.sac.ca.us (David Fox)
  4. Subject: Re: Locate/fast-find (Was: Re: Shared lib X for 386bsd?)
  5. In-Reply-To: <EWERLID.93Jan8222423@ida.docs.uu.se>
  6. Message-ID: <fXOtCvR@quack.sac.ca.us>
  7. Organization: The Duck Pond public unix: +1 408 249 9630, log in as 'guest'.
  8. References: <1993Jan8.050552.11116@ntuix.ntu.ac.sg>
  9. Date: 11 Jan 1993 03:07:58 UTC
  10. Lines: 25
  11.  
  12. In article <EWERLID.93Jan8222423@ida.docs.uu.se> you write:
  13.  
  14. I tried mailing this, but it bounced.
  15.  
  16. >A very useful command is `locate' or `fast find'.
  17. >Just run `updatedb' at regular intervalls.
  18.  
  19. I have something similar, but probably not in the same format that
  20. locate can use.  It's part of a 386bsd program 'fs' that shows all
  21. open files.  There's a program 'fsmakedb' that makes a database of
  22. all files in the filesystem, and I run it as part of /etc/rc.
  23.  
  24. >Anyway, rather than asking the net where a file in my own filessytem
  25. >is I'd run a brute force 'find / -print | grep xterm'. :-)
  26.  
  27. Actually, the '-print' is superflous, just ' find . | grep xterm' should
  28. work.  And, that's pretty fast in finding files, too.
  29.  
  30. --
  31. David Fox
  32. dfox@quack.sac.ca.us
  33.  
  34.  
  35.  
  36.  
  37.