User Tools

Site Tools


grep_on_find_results

This is an old revision of the document!


To grep on the results of a find command, you can use something like

find . -iname '*.py' -exec grep something -inH --color {} +

The output can be redirected to a file

find . -iname '*.py' -exec grep something -inH --color {} + > output.txt
grep_on_find_results.1617876820.txt.gz · Last modified: 2021/04/08 10:13 by raju