I am supposed to find and display the count of the number of files that contain the word carrot (case ignored)So far this is what I have, I am just not sure how to add the wc into it to count how many files there are that have the word carrotfind . -exec grep -i carrot {} \;
How to find and count how many files contain a certain word?
bash;command line