News for hackers. Stuff that matters.
Re:Useful command-line scripts for web developers (or anyone... by spudlyo on Friday June 05, 2009 @07:46PM (#644228)
I sometimes in interviews I ask how to find the top 10 IP addresses that have hit a web host in the last thousand hits.

tail -1000 access.log | cut -d' ' -f1 | sort | uniq -c | sort -rn | head

There are no comments on this comment yet.