LPI Exam Questions

Which of the following commands can be used to view ker…

Which of the following commands can be used to view kernel messages?

A.
less dmesg

B.
less /var/log/boot.log

C.
cat /proc/kernel |less

D.
cat /proc/dmesg

Explanation:
There are two log files contains the boot and kernel related log messages. /var/log/boot.log and /var/log/dmesg.