Need to search a directories with lots of sub-directories for a string inside files:
I\'m using:
grep -c -r \"string here\" *
How can I
grep -rc "my string" ./ | grep :[1-9] >> file_name_by_count.txt
Works like a charm.