Monday, September 28, 2009

Find all files having the string in Linux


To Find all files having the string "SPECIALMAIL"

find . -exec grep -i -l "SPECIALMAIL" {} \;

-i => Ignore Case

-l => List file names only

No comments: