Last active
August 29, 2017 09:36
-
-
Save hussainanjar/d77dd804d339169fec8f1ed2bcff51ff to your computer and use it in GitHub Desktop.
Useful Commands
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Count IP address from nginx log file https://www.mkyong.com/nginx/count-ip-address-in-nginx-access-logs/ | |
sudo awk '{print $1}' /var/log/nginx/access.log | sort | uniq -c | sort -nr |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment