Grep IP from WHM / cPanel server

  cPanel, WHM
# 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