#!/bin/bash # count all visited ip cat hduisa.com-access_log | awk '{print $1}' | sort -n | uniq -c | sort -n > ip_all.txt