find . -name "*.*" -exec grep -H "needle in a haystack" {} \;
This find the search pattern and outputs the file name and the line with found search pattern.
find . -name "*.*" -exec grep -H "needle in a haystack" {} \;
This find the search pattern and outputs the file name and the line with found search pattern.