Thursday, December 22, 2011

Listing files which contain a specific string

Try:

grep -li "mystring" *

l --> Outputs the name of files.
i --> Ignore Case.

No comments:

Post a Comment