Finding all files containing a text string on Linux or Mac 2014-09-19 / By juzhax / Linux, Mac / find strings, linux, mac I need to find some string in all folders. grep -rnw './folder/' -e "search-text" Note: -r is recursive -n is line number -w stands match the whole word Tags: find stringslinuxmac