CompTIA Linux+ (XK0-006) — Question 12
Which of the following does dmesg display?
Answer options
- A. Incorrect login attempts
- B. "Session closed" messages
- C. Window manager warnings
- D. USB device connections
Correct answer: D
Explanation
The dmesg command is used to display kernel-related messages, which include information about USB device connections. The other options do not pertain to kernel messages; incorrect login attempts, session closed messages, and window manager warnings are not displayed by dmesg.