Interpret selector mail.err using the usual threshold behavior.
Which description is appropriate?
mail.err normally includes err and more severe priorities: crit, alert, and emerg.
Detailed explanation
Incorrect. Without an equality-only form, more severe priorities are also included.
Incorrect. Without an equality-only form, more severe priorities are also included.
Incorrect. The facility is restricted to mail, not every facility.
Incorrect. The facility is restricted to mail, not every facility.
Incorrect. The threshold direction is reversed.
Incorrect. The threshold direction is reversed.
Correct. err through emerg are selected.
Correct. err through emerg are selected.
Try it yourself
An example you can run in a temporary verification environment.
printf '%s\n' emerg alert crit err warning notice info debug | awk 'NR<=4'Expected result
emerg
alert
crit
errKey points
- Lower number is more severe
- Threshold includes more severe
- Facility is mail
Notes
- Environment: awk / priority順の合成確認
- Command output formatting can vary slightly by distribution or tool version.
- Run the example in a temporary directory or process when possible.
Foundation review
Read the scope first
Check whether the command acts on the current shell, a new process, an existing process, or a file.
Verify the observable result
Use the supplied command and compare the output with the expected result.