Bird
0
0

Which file in /var/log/ typically contains messages related to system boot and shutdown?

easy📝 Conceptual Q1 of 15
Linux CLI - System Administration
Which file in /var/log/ typically contains messages related to system boot and shutdown?
A/var/log/auth.log
B/var/log/boot.log
C/var/log/kern.log
D/var/log/dmesg
Step-by-Step Solution
Solution:
  1. Step 1: Identify log files related to system startup

    The /var/log/boot.log file records messages during system boot and shutdown.
  2. Step 2: Compare with other log files

    /var/log/auth.log is for authentication, /var/log/kern.log for kernel messages, and /var/log/dmesg for kernel ring buffer messages, not specifically boot/shutdown logs.
  3. Final Answer:

    /var/log/boot.log -> Option B
  4. Quick Check:

    Boot and shutdown logs = /var/log/boot.log [OK]
Quick Trick: Boot messages are in boot.log, not auth or kern logs [OK]
Common Mistakes:
  • Confusing auth.log with boot messages
  • Thinking kern.log contains boot logs
  • Assuming dmesg is a persistent log file

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes