linux find string recursively code example
Example 1: linux search string in source recursively
find . -name '*.js' -exec grep -i 'string to search for' {} \; -print
Example 2: linux search string in source recursively
grep --include=\*.js -rnw '/path/to/somewhere/' -e "pattern"