RHEL Linux - Red Hat System Administration Practice Exam

Disable ads (and more) with a membership for a one time $4.99 payment

Study for the RHEL Linux - Red Hat System Administration Exam. Enhance your knowledge with flashcards and multiple-choice questions, complete with hints and explanations. Prepare for your certification!

Practice this question and more.


Messages related to startup are logged in _____

  1. /var/log/cron

  2. /var/log/boot.log

  3. /var/log/messages

  4. /maillog

The correct answer is: /var/log/boot.log

Startup messages in a Linux system are logged in the file located at /var/log/boot.log. This file specifically captures messages related to the system's boot process, including logs from services that are started or stopped during boot, kernel messages, and any errors encountered while the system initializes. This makes it a dedicated log for monitoring the boot sequence and diagnosing issues that arise during system startup. The other options point to different log files that serve various purposes. For example, /var/log/cron is used to log scheduled tasks executed by the cron daemon, /var/log/messages contains a general log of system-related messages, while /var/log/maillog pertains to mail server activity and issues. Thus, none of those files specifically track startup messages, affirming that /var/log/boot.log is the appropriate choice for logging messages associated with the boot process.