Tag: grep

Recursive Grep

Share

Every now and then you need to know which files contain a string starting from the current directory and all files below. One way to do this on some Unix-like systems is to use something like...

find . -exec grep -l 'phrase to find in your files' {} \;

Comments (0)       
Tags: *nix, code, find, grep, recurse, reference, software, unix-like