Find all files with the extension .txt in the current directory and its subdirectories, and search for the term 'searchterm' in each file, displaying the filename and the matching line.
find ~ -name '*.txt' -exec grep -H 'searchterm' {} \;