I have two log files which I would like to view on my screen simultaneously. Below you can see my commands:
pi@raspberrypi ~ $ watch -n 1 tac /home/pi/log/log.txt
pi@raspberrypi ~ $ watch -n 1 cat /home/pi/log/heartbeat.txt
Do I have to write a program to do that or can I do it through bash
?