linux日志查找技巧 1.查找日志最后10行 tail -n 10 test.log 查询日志尾部最后10行的日志; 2.关键词查询 grep '2014-12-17 16:17:20' test.log