Article 6QKKA view a log file as it grows

view a log file as it grows

by
StrayBit
from LinuxQuestions.org on (#6QKKA)
I'm writing a Curses program in one terminal in XFCE. It writes to a log file. In another terminal,I want to view that file as it grows.
I have tried tail and other programs but they print the file and exit.
Is there any way that as a line is added to that log file, it could be displayed on the other terminal?
Thanks.
Bruce
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments