find all the files in which a string exists linux command code example
Example 1: find text in folder
grep -rnw '/path/to/somewhere/' -e 'pattern'
Example 2: bash find all files containing string
grep -r '/path/to/somewhere/' -e 'pattern'
Example 3: search file in ubuntu
$ find /path/to/file/