Linux_FoundationLinux_Foundation
LFCS · Question #524
LFCS Question #524: Real Exam Question with Answer & Explanation
The correct answer is B: mailq. The mailq command is used to display the contents of the system's mail queue, showing messages awaiting delivery.
Submitted by luis.pe· Apr 18, 2026Operation of Running Systems
Question
Which of the following commands should be used to print a listing of email in the system's mail queue?
Options
- Alpq
- Bmailq
- Cmlq
- Dsendmail -l
Explanation
The mailq command is used to display the contents of the system's mail queue, showing messages awaiting delivery.
Common mistakes.
- A. The
lpqcommand displays the status of print queues, not email queues. - C.
mlqis not a standard Linux command for listing mail queues. - D. While
sendmailis an MTA, the-loption is not the correct flag to list the mail queue;sendmail -bpor simplymailqis used.
Concept tested. Email queue management
Reference. https://man7.org/linux/man-pages/man8/mailq.8.html
Topics
#mail queue#mailq command#email administration#system monitoring
Community Discussion
No community discussion yet for this question.