You can do "tail -f /var/log/kern.log"
From the tail manpage:
-f, --follow[={name|descriptor}]
output appended data as the file grows; -f, --follow, and
--follow=descriptor are equivalent.
You can do the same thing by opening the log with less, then typing "F",
this has the added advantage that you can scroll back up (after sending a
SIGINT via ctrl-C or kill -2) if you missed something. It can be set up in a
script as "less +F /var/log/kern.log"
--
http://linuxfromscratch.org/mailman/listinfo/lfs-chat
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page