Unix: Search for file contents
Posted
by Svish
on Super User
See other posts from Super User
or by Svish
Published on 2010-04-22T13:32:21Z
Indexed on
2010/04/22
13:33 UTC
Read the original article
Hit count: 163
I find the find . -name "some-file"
command very useful to list all files matching some file name in a folder. Is there anything similar I can use to list all files that contains string?
If you needed to find all files in a directory that had a certain string of text in it, what would you use?
© Super User or respective owner