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:
Installing AnyDesk in Ubuntu 22.04
how to pack and unpack files on the server - ZIP TAR TAR.GZ
Cannot set LC_CTYPE to default locale: No such file or directory Debian / Ubuntu Solution!
Installing OpenLiteSpeed in Ubuntu 22.04
The following tutorial describes a very simple way to send e-mail from our console





