Skip to content

String in files

dickgroenenberg edited this page Aug 11, 2021 · 1 revision

Show files containing "search_string" on path

grep -Ril "search_string" /path/to/folder

-R recursively (i.e. files in any subfolder of /path/to/folder)
-i ignore case
-l list files (instead of line in file) that contain the search_string\

issue on StackOverflow

Clone this wiki locally