News

New paper! in the American Naturalist

Thursday, February 6, 2020

How to find files that contains a specific string on Linux

grep -Ril "text-to-find-here" path-to-starting-directory # search files in directories under this directory
-R: recursive
-i: ignore case
-l: show the file name, not the result itself

source