nerdexam
CompTIA

LX0-104 · Question #451

If you want to print a listing of your computer's mail queues, what command would you use?

The correct answer is C. mailq. To view the status and contents of mail queues on a Linux system running a Mail Transfer Agent, a specific command-line utility is used.

Essential System Services

Question

If you want to print a listing of your computer's mail queues, what command would you use?

Options

  • Asendmail -l
  • Blpq
  • Cmailq
  • Dmlq

How the community answered

(48 responses)
  • A
    2% (1)
  • B
    4% (2)
  • C
    94% (45)

Why each option

To view the status and contents of mail queues on a Linux system running a Mail Transfer Agent, a specific command-line utility is used.

Asendmail -l

`sendmail -l` is generally used for specific debugging or logging purposes with the Sendmail MTA, not for listing the mail queue.

Blpq

`lpq` is a command used to inspect the print queue for printers, not the mail queue.

CmailqCorrect

The `mailq` command is a standard utility on Unix-like systems, including Linux, that displays the contents of the mail queue managed by the Mail Transfer Agent (MTA), showing messages awaiting delivery or processing.

Dmlq

`mlq` is not a standard or recognized command for viewing the mail queue on Linux systems.

Concept tested: Mail Transfer Agent (MTA) queue management

Source: https://man7.org/linux/man-pages/man8/mailq.8.html

Topics

#mail queue#mailq command#email services

Community Discussion

No community discussion yet for this question.

Full LX0-104 Practice