Search the entire file system for files with the extension ".txt" and execute the command "grep" to search for the string "string" in each of those files.
find / -name "*.txt" -exec grep "string" {} \;