linux 多文件中查询关键字
cat goods-service-2015-07-26_10.*.log | grep -C10 --color=always "start to revise goods sku stock with goodsId"
cat goods-service-2015-08-26_10.*.log |grep 'result|skuKey=goods_stock_99480|stock=800'
zgrep --color=auto -a -C 10 '3101779' goods-service_20150909.tar.gz
zgrep --color=auto -a -C 10 '需要进行修正的goodId:118458|zid:5|fid:102' goods-service_20150919.tar.gz
zcat member-service_20160427.tar.gz.69 | grep '17117201' -a -H -C 10
linux 日志查询
最新推荐文章于 2024-03-02 10:32:42 发布