Find all files with the extension .txt in the current working directory, and search for the word "word" in them, ignoring case, and print the names of the files that contain it.
find $(pwd) -name "*.txt" -type f -exec grep -il "word" {} \;