• Bilal Malik

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

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.

#command #linux #ubuntu

Recent Posts

See All

What is requireJS AMD in Magento2

Simply we can say, below format is the AMD module. define(['jquery'] , function ($) { return function () {}; }); Module Vs AMD module 1. Javascript Module Pattern (function () { this.myGlobal =

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