Linux Essentials (010-160) — Question 1
What is true about the dmesg command? (Choose two.)
Answer options
- A. It traces the execution of a command and shows each step the program carries out.
- B. It sends messages to the command lines of all current user sessions.
- C. It displays the content of the Linux kernel's ring buffer.
- D. It immediately outputs all new messages written to the system journal.
- E. It might not display older information because it was overwritten by newer information.
Correct answer: C, E
Explanation
The correct answer includes C and E because the dmesg command indeed displays the contents of the Linux kernel's ring buffer and older messages can be overwritten by newer ones. Options A, B, and D are incorrect as they describe functionalities that are not associated with the dmesg command.