Find a string from files with certain extension in directory tree
by Taavi Rammar

Change file extension and search string before executing following command:
cd /path/where/you/want/to/look
find . -type f -name "*.txt" |xargs grep -Hn "search string"

Output is a bit ugly, but it does the trick. Happy searching.

Copyright by techTips