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.
Related entries:
Ncdu friendly listing of directory occupancy
Full installation of Linux LAMP server, Apache, MySql, PHP Debian 11
Weather forecast for the console and applet for Gnome
ack -l DB_NAME
wp-config.php
wp-admin/setup-config.php
wp-config-sample.php
wp-content/plugins/litespeed-cache/src/db-optm.cls.php
wp-content/plugins/newsletter/system/status.php
wp-includes/load.php
wp-includes/ms-load.php
Installing the Webmin panel on Ubuntu 22.04