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
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