[lug] Finding a File
Matt Thompson
thompsma at colorado.edu
Thu May 6 10:40:20 MDT 2004
On Thu, 2004-05-06 at 09:50, Warren Sanders wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Steve Lowe wrote:
>
> |Try the 'locate' command.
Caveat: this will only work if updatedb has been run since installation
of the file.
> or the 'which' command. 'which minicom' would tell you if it's in
> your path, but then just running 'minicom' would work then ;-)
Another caveat is this might need a "rehash" if you're on zsh or similar
shell before the path finds it.
I usually use find, as others have stated. I usually err on the side of
hating my discs and would use:
find /usr -iname '*mini*'
The iname flag makes the search case-insignificant.
--
Learning just means you were wrong and they were right. - Aram
Matt Thompson -- http://ucsub.colorado.edu/~thompsma/
440 UCB, Boulder, CO 80309-0440
JILA A510, 303-492-4662
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.lug.boulder.co.us/pipermail/lug/attachments/20040506/350ccfa8/attachment.pgp>
More information about the LUG
mailing list