Aaron Murray Aaron Murray - 1 year ago 106
Linux Question

Bash script log file display to screen continuously

I am creating an application that writes to a log file, and I need to know how in Linux / Bash to continuously display the log file to the screen (updating the screen with every new line put into the log).

So as an example, lets say I want to push a running log of

to the screen (ssh terminal) continuously updating.

Answer Source

Try the tail command:

tail -f filename
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download