Developer Bedoya

Find Text in Files on Linux

I shamelessly copied from found on stackoverflow.com how to use grep to find a specific text (or regular expression) inside a directory:

grep -rnw '/path/to/somewhere/' -e 'pattern'

And I think that’s very useful for coders when trying to find references from a class.