Use tail with the -f option to monitor a file
in real time. This useful for monitoring for
errors, debugging issues, or just watch the
current activity taking place.
For Example:
# tail -f /var/log/messages
# tail -f /usr/local/apache/logs/access_logs
NOTE: All tips provided are USE AT YOUR OWN RISK. Tips are submitted
by various unix admins around the globe. UGU suggest you read and
test each tip in a non-volitile environment before placing into
production.