# cd /usr/local/apache/domlogs/username/ # sed -e 's/\([0-9]\+\.[0-9]\+\.[0-9]\+\.[0-9]\+\).*$/\1/' -e t -e d domain.com | sort | uniq -c
# cd /usr/local/apache/domlogs/username/ # sed -e 's/\([0-9]\+\.[0-9]\+\.[0-9]\+\.[0-9]\+\).*$/\1/' -e t -e d domain.com | sort | uniq -c