grep -R --include=*.log warning /var/log

grep -R --include=*.log warning /var/log

原文地址:https://www.cnblogs.com/kofsony/p/12447296.html