- grep -r "yourstring" *
grep -r "yourstring" *
Will find "yourstring" in any files and folders
Now if you want to look for two different strings at the same time you can always use option E and add words for the search. example after the break
- grep -rE "yourstring|yourotherstring|$" *
grep -rE "yourstring|yourotherstring|$" *
will search for list locations where yourstringyourstring
or yourotherstringyourotherstring
matches