Display changes in several files simultaneously
If there is a need to enable the display of saved data at the same time as log files, you do not need to run several consoles - you can include them all in tail -f.
Recently, it was useful for me in the case of system logs when the server restarted several minutes after the restart and we want to see what is happening immediately before it.:
1 | tail -f /var/log/{messages,kern.log,daemon.log,syslog} |
Of course, if restarts are random, it is worth implementing error logging to an external server, but in many cases this method is sufficient.