grep search for string in files code example
Example 1: linux search for line in file
grep -R "keyword" /directory/
Example 2: grep search for string in directory
grep -nr 'yourString*' .
grep -R "keyword" /directory/
grep -nr 'yourString*' .