010-150 · Question #34
What is the command that will show system boot time messages?
The correct answer is A. dmesg. The dmesg command displays the kernel ring buffer, which contains messages logged during system boot and hardware initialization.
Question
What is the command that will show system boot time messages?
Options
- Admesg
- Becho
- Clspci
- Ddisplay system boot
- Emessages
How the community answered
(31 responses)- A71% (22)
- B3% (1)
- C10% (3)
- D16% (5)
Why each option
The dmesg command displays the kernel ring buffer, which contains messages logged during system boot and hardware initialization.
dmesg reads and prints the kernel ring buffer, which captures messages generated during the boot process including hardware detection, driver initialization, and kernel events. It is the standard Linux utility for reviewing boot-time diagnostic output and is available on virtually all Linux systems.
echo simply prints text to standard output and has no ability to read system logs or kernel messages.
lspci lists PCI devices connected to the system but does not display boot-time messages.
'display system boot' is not a valid Linux command.
'messages' is not an executable command - /var/log/messages is a log file path, not a command.
Concept tested: dmesg command and kernel ring buffer output
Source: https://man7.org/linux/man-pages/man1/dmesg.1.html
Topics
Community Discussion
No community discussion yet for this question.