1) armas un archivo pattern que contenga, por ejemplo:
Código:
192.168.0.1
192.168.0.2
192.168.0.3
Luego:
Código:
tail -f access.log|grep -f pattern
man grep:
Citar:
-f FILE, --file=FILE
Obtain patterns from FILE, one per line. The empty file
contains zero patterns, and therefore matches nothing. (-f is
specified by POSIX.)