Skip to content

Instantly share code, notes, and snippets.

@eduardomarcos
Created December 29, 2020 19:01
Show Gist options
  • Save eduardomarcos/c226be9d95dd2341d71231e077849367 to your computer and use it in GitHub Desktop.
Save eduardomarcos/c226be9d95dd2341d71231e077849367 to your computer and use it in GitHub Desktop.
Mix of useful linux scripts
# 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