Extract IP Addresses From Apache Access Log


/ Published in: Bash
Save to your folder(s)



Copy this code and paste it in your HTML
  1. cat access.log | grep -o '\([0-9]\{2,3\}.\)\{3\}\.[0-9]\{2,3\}' | sort | uniq | wc -l

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.