Hi, I would like to write a script that would output to the screen the latest contents of a log, and continue to do so until I abort the script.
For example, I have squid running, and would like to see the latest additions to the /var/log/squid/access.log as it takes place. Something like typing the "tail" command over and over again or something. Is this possible? If its quite complicated, please point me to a nice script place on the web where I can learn about simple scripts. Thanks Mike