Bash script log file display to screen continuously
The watch command can also be of use.
watch tail logfile
Would show you the last 5 lines of the log file. It can be extended to any command which prints stuff to stdout.
Yes, using tail -f
is the traditional solution, but depending on what you are trying to do, this might work better.