find top 10ip access apache
# awk '{ print $1}' access.log.2016-05-08 | sort | uniq -c | sort -nr | head -n 10
Are there any code examples left?
New code examples in category Shell/Bash
# awk '{ print $1}' access.log.2016-05-08 | sort | uniq -c | sort -nr | head -n 10