010-100 · Question #48
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 generated 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
(49 responses)- A71% (35)
- B4% (2)
- C2% (1)
- D14% (7)
- E8% (4)
Why each option
The 'dmesg' command displays the kernel ring buffer, which contains messages generated during system boot and hardware initialization.
'dmesg' reads and outputs the kernel ring buffer, which captures all messages the kernel generates from boot time onward, including hardware detection, driver initialization, and boot-time errors. It is the standard tool for reviewing what occurred during the system startup sequence.
'echo' simply prints a string to standard output and has no access to kernel or boot messages.
'lspci' lists PCI devices currently detected by the system but does not display boot-time kernel log messages.
'display system boot' is not a valid Linux command.
'messages' is not a standalone executable command; /var/log/messages is a log file that must be read with a command like 'cat' or 'less'.
Concept tested: Viewing kernel boot messages with dmesg
Source: https://man7.org/linux/man-pages/man1/dmesg.1.html
Topics
Community Discussion
No community discussion yet for this question.