2019-03-23 shell练习,日志统计
摘要:[2019-03-10 17:44:55]1234567 paid 10 10000 cat test.txt |tail -n +1 |sed 's/]/ ]g' |awk '{count[$3]+=$6}END{for(key in count) print key" "count[key]}'
阅读全文
posted @ 2019-03-23 17:50
posted @ 2019-03-23 17:50
posted @ 2019-03-12 11:11
posted @ 2019-03-06 16:54