grep ‘info‘ info.log|grep ‘info2‘
先筛选出 包含‘info’的信息,再次筛选出包含‘info2‘的信息
Linux grep 后通过 | 在次grep
原文:https://www.cnblogs.com/huanghuanghui/p/11232078.html