Find all files ending with ".txt" in the current directory and its subdirectories, and execute the command "grep -l "hello" [filename]" for each of them.
find ~ -name "*.txt" -exec grep -l "hello" {} \;