Find all files in the current directory and its subdirectories, and search for the string 'pattern' in each file, and print the name of each file that contains the string.
find . -type f -exec grep -rl 'pattern' {} \;