Master Linux Like a Pro: Dive into the 2025 RHEL Red Hat Challenge!

Question: 1 / 400

What will the command journalctl -p err do?

filter the output to list critical error log entries or above

The command `journalctl -p err` is used to filter log entries from the system journal based on their priority level. In this context, `-p` stands for priority, and `err` specifies an error priority. The priority levels in the journal range from 0 (emergencies) to 7 (debug messages), with `err` representing error messages, which corresponds to priority level 3.

When this command is executed, it retrieves and displays all log entries that are categorized as errors or of higher severity. This means it will include log messages with higher priority levels, such as critical errors or emergencies. Therefore, the correct interpretation of the command is that it filters the output to list error log entries (priority level 3) and the more severe log messages that could indicate significant issues with the system.

Other options do not accurately reflect what the command does. For example, filtering for critical errors or logs marked as unusable would either include more severe logs than intended or signify a misunderstanding of the logging levels. Meanwhile, debug messages and warning log entries pertain to different priorities, and using `err` specifically limits the output to errors and above.

Get further explanation with Examzify DeepDiveBeta

filter the output to list system unusable severity log entries

filter the output to list debug messages

filter the output to list warning log entries

Next Question

Report this question

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy