Bird
0
0

What does the dmesg command show in a Linux system?

easy📝 Conceptual Q1 of 15
Linux CLI - System Administration
What does the dmesg command show in a Linux system?
AUser login history
BKernel ring buffer messages
CList of running processes
DDisk usage statistics
Step-by-Step Solution
Solution:
  1. Step 1: Understand the purpose of dmesg

    The dmesg command reads the kernel ring buffer, which stores messages from the Linux kernel.
  2. Step 2: Compare options with kernel messages

    Only Kernel ring buffer messages correctly describes kernel ring buffer messages. Other options relate to user or system info unrelated to kernel logs.
  3. Final Answer:

    Kernel ring buffer messages -> Option B
  4. Quick Check:

    dmesg output = Kernel messages [OK]
Quick Trick: dmesg shows kernel logs, not user or disk info [OK]
Common Mistakes:
  • Confusing dmesg with user commands like last
  • Thinking dmesg shows process list
  • Assuming dmesg shows disk usage

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes