home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / unix / bsd / 11050 < prev    next >
Encoding:
Internet Message Format  |  1993-01-08  |  1.4 KB

  1. Xref: sparky comp.unix.bsd:11050 comp.os.linux:23273
  2. Path: sparky!uunet!mcsun!sunic!corax.udac.uu.se!corax.udac.uu.se!ewerlid
  3. From: ewerlid@ida.docs.uu.se (Ove Ewerlid)
  4. Newsgroups: comp.unix.bsd,comp.os.linux
  5. Subject: Locate/fast-find (Was: Re: Shared lib X for 386bsd?)
  6. Date: 8 Jan 93 22:24:23
  7. Organization: University of Uppsala, Sweden
  8. Lines: 26
  9. Distribution: world
  10. Message-ID: <EWERLID.93Jan8222423@ida.docs.uu.se>
  11. References: <1993Jan8.050552.11116@ntuix.ntu.ac.sg>
  12. NNTP-Posting-Host: ida.csd.uu.se
  13. In-reply-to: othman@ntrc25.ntrc.ntu.ac.sg's message of Fri, 8 Jan 1993 05:05:52 GMT
  14.  
  15.  
  16. In article <1993Jan8.050552.11116@ntuix.ntu.ac.sg> othman@ntrc25.ntrc.ntu.ac.sg (othman (EEE/Div 4)) writes:
  17. > I tried to compile X utilities especially xterm but I cannot even find the
  18. > sources despite having the X11r5 distribution. Which directory does 
  19. > xterm belong to? 
  20.  
  21. A very useful command is `locate' or `fast find'.
  22. Just run `updatedb' at regular intervalls.
  23.  
  24. `locate' uses a data base built by `updatedb' to quickly
  25. locate a particular file name.
  26.  
  27. E.g.
  28.  
  29. bash$ locate xterm
  30. /usr/X11R5/usr/X386/bin/xterm
  31. bash$
  32.  
  33. I don't have the full X11 dist so theres no source! 
  34.  
  35. (GNU'S locate/updatedb comes with the Linux SLS dist.)
  36.  
  37. Perhaps I'm stating the obvious here ...
  38. Anyway, rather than asking the net where a file in my own filessytem
  39. is I'd run a brute force 'find / -print | grep xterm'. :-)
  40. To be fair, the question was just a fraction of the original posting.
  41.