The watch command can also be useful.
watch tail logfile
Will show you the last 5 lines of the log file. It can be expanded to any command that prints material to standard output.
Yes, using tail -f is a traditional solution, but depending on what you are trying to do, this may work better.
Seth Robertson May 26 '11 at 19:28 2011-05-26 19:28
source share