Macos – How to find files with certain text in the Terminal

macmacossearchterminalunix

I'd like to find all files that contain a certain string of text. How would you do that in the Terminal?

Best Answer

grep -r 'text goes here' path_goes_here
Related Question