I'd like to
tail -f the output of
access_log on RHEL 6.8 but pipe and grep that output to act as a filter. Is there such an option?
That is I'd like live output from:
# tail -f error_log | grep <<ON.THIS.IP.ADDY>>
Currently I'm doing something akin to this, but it's clunky:
watch -n 5 'tail -n 10 access_log | grep <<ON.THIS.IP.ADDY>>'