Good Afternoon
I am attempting to run a tail -f on a log file (shown below), but when running this I do not receive any output. However when I replace tail -f with cat the command runs and returns the information I need. Why would there be a difference? and what can I do to remedy this? Help Please
tail -f /var/log/monitor | grep -i 'is down/| is up' | awk '{print $1, $2, $4}'
cat /var/log/monitor | grep -i 'is down/| is up' | awk '{print $1, $2, $4}'
March 4 20:18:18
March 4 20:20:18
March 4 20:25:18