Find all files containing specific text on Linux? Home » Find all files containing specific text on Linux? Posted on May 23, 2022 KevinLatest In How-To Geek / Linux Use the following code to Find all files containing specific text on Linux? grep -rnw ‘/path/to/somewhere/’ -e ‘pattern’ Related