Return to BSD News archive
Received: by minnie.vk1xwt.ampr.org with NNTP id AA6280 ; Thu, 07 Jan 93 16:10:34 EST Xref: sserve comp.unix.bsd:9735 comp.os.linux:21977 Path: sserve!manuel.anu.edu.au!munnari.oz.au!uunet!mcsun!sunic!corax.udac.uu.se!corax.udac.uu.se!ewerlid From: ewerlid@ida.docs.uu.se (Ove Ewerlid) Newsgroups: comp.unix.bsd,comp.os.linux Subject: Locate/fast-find (Was: Re: Shared lib X for 386bsd?) Date: 8 Jan 93 22:24:23 Organization: University of Uppsala, Sweden Lines: 26 Distribution: world Message-ID: <EWERLID.93Jan8222423@ida.docs.uu.se> References: <1993Jan8.050552.11116@ntuix.ntu.ac.sg> NNTP-Posting-Host: ida.csd.uu.se In-reply-to: othman@ntrc25.ntrc.ntu.ac.sg's message of Fri, 8 Jan 1993 05:05:52 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.