facelordgists
10/31/2018 - 11:53 PM

How to recursively search folders for a string using grep and ack

How to recursively search folders for a string using grep and ack

grep -r "string" .

# apparently capital R follows symlinks
grep -R "string" .

## Or use ACK
ack "string" folder