find -name '*.php'|xargs grep 'include'//在当前目录及其子目录的php文件中查找include字符串
find . -name '*.php' -exec grep -i -nH "include" {} \;//同上

 

------------------------------------------------

参考来源:http://www.ai7.org/wp/html/653.html http://yecheng110.blog.hexun.com/10572550_d.html

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-07
  • 2022-12-23
  • 2022-12-23
  • 2022-01-12
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-12-20
  • 2021-09-24
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案