I know how to use grep recursively, grep -r 'hello world' .
The thing I can't figure out is, how can I search recursively, and make it only check certain files? For example, all .py files.
I've tried a bunch of things, like grep -r 'string' ./*.py but it didn't work right. Typing grep -r 'string' *.py only seaches the current dir.
Bookmarks