nerdexam
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 lpq command displays the status of print queues, not email queues.
  • C. mlq is not a standard Linux command for listing mail queues.
  • D. While sendmail is an MTA, the -l option is not the correct flag to list the mail queue; sendmail -bp or simply mailq is 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.

Full LFCS PracticeBrowse All LFCS Questions