Finding files containing 'string'
James Kosin
jkosin at beta.intcomgrp.com
Wed Feb 1 16:45:29 UTC 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Anne Wilson wrote:
> I need to list all files that refer to my network-name, but I can't work
> out a command to do it. I thought I would have to cat everything,
> piping through grep 'string', but that doesn't search recursively, the
> help-file doesn't show a recursive flag, and I'm not sure that it would
> actually give me the filenames anyway.
>
> Help, please?
>
> Anne
>
Why not use grep .... it allows searching recursively.
Look at the man pages.
James Kosin
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFD4OWpkNLDmnu1kSkRAom7AJ9TWJCAhTkQkfgixdH5Z5asmWsdqgCeOrTG
QBirU5n20rkVSTcDGzqVHZo=
=JKjx
-----END PGP SIGNATURE-----
--
Scanned by ClamAV - http://www.clamav.net
More information about the fedora-list
mailing list