finds if all files in the current directory contain “XXXXX” text:
grep -r "xxxxx"
p>
finds if a file in the current directory contains the text “XXXXX” :
find ./ -type f -name "filename.filetype" | xargs grep "xxxxx"
p>
div>
finds if all files in the current directory contain “XXXXX” text:
grep -r "xxxxx"
p>
finds if a file in the current directory contains the text “XXXXX” :
find ./ -type f -name "filename.filetype" | xargs grep "xxxxx"
p>
div>