nerdexam
LPI

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.

The Linux Operating System

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)
  • A
    71% (22)
  • B
    3% (1)
  • C
    10% (3)
  • D
    16% (5)

Why each option

The dmesg command displays the kernel ring buffer, which contains messages logged during system boot and hardware initialization.

AdmesgCorrect

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.

Becho

echo simply prints text to standard output and has no ability to read system logs or kernel messages.

Clspci

lspci lists PCI devices connected to the system but does not display boot-time messages.

Ddisplay system boot

'display system boot' is not a valid Linux command.

Emessages

'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

#dmesg#boot messages#kernel log#system diagnostics

Community Discussion

No community discussion yet for this question.

Full 010-150 Practice