[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: find files in unix (was HP X11lib.a location)
From: |
Ginger Booth |
Subject: |
Re: find files in unix (was HP X11lib.a location) |
Date: |
Mon, 25 Aug 97 10:46:53 EDT |
>
>
> And just a PS to what Ginger said ;-)
>
> There are probably a lot of folks on this list
> who are new to unix so they might not know some
> of the little unix tricks.
> Here is an excerpt showing how to find a file
> you suspect is on the system but you don't know where:
>
> maria-rlr)find / -name "libX11.a" -print
> find: cannot open /dev/diag
> /usr/lib/X11R5/libX11.a
> ...
>
> (That "maria-rlr)" is my prompt.)
> The above command looks at all the directories on the system below /
> (root dir), but you could also look in specified subtrees, eg
> find /usr -name "libX11.a" -print
>
> To find the file Ginger mentioned you could put a wildcard
> character in the -name, eg,
> badger-rlr)find / -name "libX11.*" -print
> find: cannot open /dev/diag
> find: cannot open /usr/lib/X11/fonts/ifo.st/typefaces
> /usr/lib/X11R4/libX11.sl
> /usr/lib/X11R5/libX11.sl
> /usr/lib/X11R5/libX11.a
>
> (I don't have a libX11.2 on my 9.05 I guess, but I did find
> different versions of the dynamically loadable versions.)
>
> I highly recommend reading about the unix find command.
> It can be used to do a lot of useful little jobs
> (esp using the -exec option to have it do some specified
> command to all the files the find command finds.)
>
> - r
>
>
> Rick Riolo address@hidden
> Program for Study of Complex Systems (PSCS)
> 4068 Randall Lab University of Michigan
> Ann Arbor MI 48109-1120
> http://pscs.physics.lsa.umich.edu/PEOPLE/rlr-home.html
>
>
> ==================================
> Swarm-Support is for discussion of the technical details of the day
> to day usage of Swarm. For list administration needs (esp.
> [un]subscribing), please send a message to <address@hidden>
> with "help" in the body of the message.
> ==================================
>
--
Ginger Booth, Center for Computational Ecology
Yale Institute for Biospheric Studies
==================================
Swarm-Support is for discussion of the technical details of the day
to day usage of Swarm. For list administration needs (esp.
[un]subscribing), please send a message to <address@hidden>
with "help" in the body of the message.
==================================