Linux 在文件中查找某字符串
命令:
grep 'word' filename
SRE实战 互联网时代守护先锋,助力企业售后服务体系运筹帷幄!一键直达领取阿里云限量特价优惠。
在多个文件中查找:
grep 'word' file1 file2 file3
更多用法参考:
https://www.howtoforge.com/tutorial/linux-grep-command/

更多精彩
命令:
grep 'word' filename
SRE实战 互联网时代守护先锋,助力企业售后服务体系运筹帷幄!一键直达领取阿里云限量特价优惠。
在多个文件中查找:
grep 'word' file1 file2 file3
更多用法参考:
https://www.howtoforge.com/tutorial/linux-grep-command/