Continuously watch a text file in UNIX
Using the tail command with an option, the file will remain open and you will see any additional output written to the file. This is especially useful for watching log files.
To monitor any new output to /var/log/messages:
tail -f /var/log/messages





