Created
December 29, 2020 19:01
-
-
Save eduardomarcos/c226be9d95dd2341d71231e077849367 to your computer and use it in GitHub Desktop.
Mix of useful linux scripts
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
# Nginx | |
# ------ | |
tail -n 10000 access.log | awk '{print $1}'| sort| uniq -c| sort -nr| head -n 10 # Get IP from logs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment