top of page

Find the top ten IP list from the apache access log file

Apr 1, 2020
1 min read

We can use the below command to find the top ten IP list from the apache access log in ubuntu

awk '{ print $1}' access.log | sort | uniq -c | sort -nr | head -n 10 

I hope it helps.

Recent Posts

See All

Comments


Follow Me

  • LinkedIn
  • Twitter
  • Facebook
  • YouTube
  • Instagram

©2021 by Bilal Usean. Proudly created with Wix.com

bottom of page