待整理:

方式一:

find 

参考:http://blog.sina.com.cn/s/blog_53d496960102xg5c.html

例:

find /home/logstash/ -type f | xargs grep "5672"

find /路径名称/home/test -type f | xargs grep "KLIM20200406"

 

方式二:grep + ri

grep -ri "X-Frame-Options" /mnt/test/需要查找的文件路径

 

相关文章:

  • 2021-05-27
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-05
  • 2022-12-23
  • 2021-12-21
  • 2022-01-15
猜你喜欢
  • 2021-09-09
  • 2021-10-14
  • 2022-12-23
  • 2021-09-22
  • 2022-12-23
  • 2022-12-23
  • 2021-06-17
相关资源
相似解决方案