centos从日志文件查找关键字的日志并生成文件

grep "unset user wechat user_id:" app* | tee wechat_log

原文地址:https://www.cnblogs.com/sign-ptk/p/6249299.html