"watching" a log on FreeBSD vs Linux

Posted by Cory J on Server Fault See other posts from Server Fault or by Cory J
Published on 2010-04-14T21:27:42Z Indexed on 2010/04/14 21:33 UTC
Read the original article Hit count: 192

Filed under:
|
|
|
|

On Linux systems I can

watch -n1 tail /var/log/whatever.log

or

watch -n1 grep somestuff /var/log/whatever.log

To show updates to a log every 1 seconds. On FreeBSD however, the watch command does something else entirely. Who knows a good FreeBSD command for what I'm trying to do? =)

© Server Fault or respective owner

Related posts about grep

Related posts about logging