2011-02-23 ログを bash 日記 いやで、列の1列目をソートして、重複除いて、 grep -hv "favicon" access_* | cut -d" " -f1 | sort | uniq > log. txt#! /bin/bash for ip in `cat log.txt` do echo `host $ip` done