Last Updated: February 25, 2016
·
770
· gilles

Top 10 ips of your webserver logs

cat logfile | cut -d' ' -f 1 | sort | uniq -c | sort -n -r | head -10

1 Response
Add your response

I'd rather see some grep :)

over 1 year ago ·