2020年3月31日
摘要: awk '{print $1}' /var/log/nginx/access.log | sort | uniq -c | sort -nr -k1 | head -n 10 awk '{print $1}' :取access日志的第一列 sort:对IP部分进行排序。 uniq -c:打印每一重复 阅读全文
posted @ 2020-03-31 09:32 哪是什么大佬 阅读(2845) 评论(0) 推荐(0) 编辑