find /path -type f | xargs grep "STRING"

實列 : 找etc 下含有 network 字串的所有檔案

find /etc -name "*" | xargs grep "network"

相关文章