how to search the particular test inside all files in folder in centos code example
Example 1: linux search for a given string in all files recursively
$ grep -r "String to be searched goes here" *
Example 2: command line how to find all files that have a string
grep -rnw '/path/to/somewhere/' -e 'pattern'