From: ewerlid@ida.docs.uu.se (Ove Ewerlid) Subject: Locate/fast-find (Was: Re: Shared lib X for 386bsd?) Date: 8 Jan 1993 21:24:23 GMT
In article <1993Jan8.050552.11116@ntuix.ntu.ac.sg> othman@ntrc25.ntrc.ntu.ac.sg (othman (EEE/Div 4)) writes:
> I tried to compile X utilities especially xterm but I cannot even find the
> sources despite having the X11r5 distribution. Which directory does
> xterm belong to?
A very useful command is `locate' or `fast find'.
Just run `updatedb' at regular intervalls.
`locate' uses a data base built by `updatedb' to quickly
locate a particular file name.
E.g.
bash$ locate xterm
/usr/X11R5/usr/X386/bin/xterm
bash$
I don't have the full X11 dist so theres no source!
(GNU'S locate/updatedb comes with the Linux SLS dist.)
Perhaps I'm stating the obvious here ...
Anyway, rather than asking the net where a file in my own filessytem
is I'd run a brute force 'find / -print | grep xterm'. :-)
To be fair, the question was just a fraction of the original posting.