find . -name \*.log -print0 | xargs -0 grep -n -H "Something"
参考
Filenames and linenumbers for the matches of cat and grep
find . -name \*.log -print0 | xargs -0 grep -n -H "Something"
参考
Filenames and linenumbers for the matches of cat and grep