Store filtered tail messages into a new log file

tail -100f /path/to/log/file.log | egrep –line-buffered ” | tee /path/to/destination/file.log

Advertisements