/ Published in: Bash
Searches for some text in a list of files. Displays the results with the filename where the snippet was found.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
find -name your_file_matcher -exec grep 'text_to_match' -H {} \; eg. find -name *.pom -exec grep 'apache' -H {} \;