摘要: 1. awk '{print $1}' access.log | sort | uniq -c | sort -n -r | head -10 拆解: ①awk '{print $1}' access.log 用awk将每行log中的ip取出 ②sort | uniq -c | 先排序,再去重并用“ 阅读全文
posted @ 2018-06-06 15:24 abm 阅读(894) 评论(0) 推荐(0)