dcsimg

Watch a Log File

If you want to watch a log file, use tail -F. The -F option prints new content as it's appended (like -f), but also re-opens a file if it's created anew, as occurs when a log file is rotated.

If you want to watch a log file, use tail -F. The -F option prints new content as it’s appended (like -f), but also re-opens a file if it’s created anew, as occurs when a log file is rotated.

Comments are closed.