grep '字符串' 文件名 2019-01-30 本文已影响0人 沉默羔羊121 tail -f 文件名 |grep '字符串' 查看日志文件 grep '字符串' 文件名 (避免使用cat打开大文件)