From: Tom Brown <t...@ng23.net>
> I need to find out how many times an IP address appears in a file - the 
> IP is the first field in the access log string so what would be the best 
> way to sort this file and count how many times each IP address appears ?

grep "^IP " | wc -l

JD


      

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to