search file content in the terminal Published: December 12, 2016 find /path/to/dir -type f -print0 xargs -0 grep -l “foo”