linux查看某条日志后n行

grep -n 'tradeId' xx.log

例:grep -500 c0a86403211565001197415111338 xxx.log

posted @ 2020-08-20 10:50  宇枫  阅读(897)  评论(0编辑  收藏  举报