Funciona muy bien:

$ find -type f -exec grep -IH 'word' {} \;

Y también:

$ find . -name "*.java" -exec sh -c 'grep -IHq "import" "$1" && echo "Found in $1"' sh {} \;

© 2019 Goose Workshop Suffusion theme by Sayontan Sinha