首页 > 技术文章 > liunx下日志查看命令

aizj 2018-01-04 18:47 原文

tail -f xx.log 查看日志

tail -f -n 200 xx.log 200毫秒打印一次日志

grep -v 'ERROR' demo.log   #查找不含"ERROR"的行 (用于查看过滤之后的日志)

推荐阅读