Find all files with the extension ".txt" in the entire file system and print their names, then search for the string "searchterm" in all of those files.
find / -name '*.txt' -print | xargs grep -ri 'searchterm'