①cat filename | grep ‘string‘
②
Linux命令: 查找文件中的字符串
原文:https://www.cnblogs.com/baxianhua/p/9056643.html