To find a string inside files in a folder, use
grep -rnw ./ -e "STRING_TO_FIND"
Or
grep -irl "STRING_TO_FIND" ./
Or
grep -ir 'STRING_TO_FIND' ./ | cat
To find a string inside files in a folder, use
grep -rnw ./ -e "STRING_TO_FIND"
Or
grep -irl "STRING_TO_FIND" ./
Or
grep -ir 'STRING_TO_FIND' ./ | cat
Leave a Reply