cat access.log | awk '{ips[$1]+=1} END{for(ip in ips) print ip,ips[ip]}'