How do I monitor log files continually?
-
There are times where you want to monitor log files continually for error or status checks, to terminate the command type CTRL-C, for example to monitor the Apache web server log file continually do:
# tail -f error_log
Using tail in this way is good for testing and debugging.
© Lightnetics 2024