How to find/grep files with specific content in Linux?
grep -rnw '/path/to/somewhere/' -e 'pattern'
if you like to search the current folder and all sub folders run the command like this:
grep -rnw . -e 'pattern'
grep -rnw '/path/to/somewhere/' -e 'pattern'
if you like to search the current folder and all sub folders run the command like this:
grep -rnw . -e 'pattern'