nerdexam
LPI

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.

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

(49 responses)
  • A
    71% (35)
  • B
    4% (2)
  • C
    2% (1)
  • D
    14% (7)
  • E
    8% (4)

Why each option

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

AdmesgCorrect

'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.

Becho

'echo' simply prints a string to standard output and has no access to kernel or boot messages.

Clspci

'lspci' lists PCI devices currently detected by the system but does not display boot-time kernel log messages.

Ddisplay system boot

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

Emessages

'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

#dmesg#boot messages#kernel ring buffer

Community Discussion

No community discussion yet for this question.

Full 010-100 Practice