How to find all files containing specific text on Linux?


grep -Ril "text-to-find-here" .

i stands for ignore case (optional in your case).
R stands for recursive.
l stands for "show the file name, not the result itself".
. stands for start directory


# sudo apt install ack

ack stuff

# ignore a dir

ack --ignore-dir _site stuff


sift (fast!!!)

sift stuff

about / github / jekyll

Support this neat blog by sending some doge to this dogecoin deposit address (minimum is 10 doge): D7hVsZVDVEqrLUEmkQF84FZRjZEKDmr5oL