vlogstack
Ask

Terminal

Command-line tools on Linux and macOS: searching, files and shell basics.

12.3MviewsStack Overflow

Find every file containing some text with grep

grep -rn searches a folder recursively and prints every match with its line number; -l lists only the file names, --include keeps one file type.

Terminalgrepgrep-rfind-text-in-filesCodeman · ep. 03Solvedupdated Nov 23, 2026

Error messages

All errors →