Created
January 14, 2016 15:40
-
-
Save cmpscabral/0234a349e03ac0a6b3e3 to your computer and use it in GitHub Desktop.
order access.log lines by IP
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
cat access.log | awk '{print $1}' | sort -n | uniq -c | sort -nr | head -20 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment