I have a kernel module logging input of some sensor while I work with it. I want to see if there is a command that outputs /var/log/messages (for example) but waits for more logs to come. That is, some program like dmesg
except that it stays on and keeps printing newly-come logs.
How to view linux kernel logs live
linux-kernellogging
Best Answer
Have you tried
tail -F
, eg.