linux命令按文件内容查找文件

[root@hn web]# find /app/code/hzg/web/ -type f -name "*.php" | xargs grep "slog"

  

原文地址:https://www.cnblogs.com/jenqz/p/5885614.html