Tuesday, September 13, 2011

find & grep

Find all files which have the name "BlueConfig" and contain "AllCompartments"

find . -name BlueConfig -exec grep -Hn AllCompartments {} \;

No comments:

Post a Comment