search inside a file in linux code example
Example 1: file search linux by text
grep -rnw '/path/to/somewhere/' -e 'pattern'
Example 2: find in file linux
grep -rnw '/path/to/somewhere/' -e 'pattern'
grep -rnw '/path/to/somewhere/' -e 'pattern'
grep -rnw '/path/to/somewhere/' -e 'pattern'