awk ‘{print $1}‘ access.log|sort | uniq -c |wc -l
awk ‘{print $7}‘ access.log|wc -l
awk ‘{print $1}‘ access.log|sort | uniq -c |sort -n -k 1 -r|more
cat access.log| sed -n ‘/14\/Mar\/2018:21/,/14\/Mar\/2018:22/p‘|more
原文:https://www.cnblogs.com/maobuji/p/10422268.html