What command should be used to print a listing of email in the system's mail queue?
Suggested Answer: B
Get Premium 102-500 Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
The mailq command prints the list of messages that are in the mail queue. The mail queue is where outgoing mail is stored until a receiving server connection is available. The mailq command is the same as the sendmail -bp command, which also prints the mail queue.The mailq command is part of the topic 108.3: Mail transfer agent (MTA) basics, which is one of the objectives of the LPI Linux Administrator - 102 exam12.Reference:1: https://learning.lpi.org/en/learning-materials/102-500/2: https://www.lpi.org/our-certifications/exam-102-objectives/
25 comments · newest first
VI
Vi
10 days ago
Yeah, B is the best choice. Easy to remember!
CE
Ceola
16 days ago
I feel confident about B. It’s commonly used.
WI
Willis
21 days ago
Same here! D seems confusing for this task.
MO
Mozell
26 days ago
I remember using mailq in my last job.
LA
Lakeesha
1 month ago
Definitely B) mailq. It's the standard command.
AN
Antione
1 month ago
I was torn between B and D, but B feels right.
JU
Jules
1 month ago
Agreed! mailq shows the mail queue.
CO
Cordie
2 months ago
I think it's B) mailq. Seems straightforward.
JE
Jesus
2 months ago
Same here! B is the go-to command for this.
JA
Jackie
2 months ago
I remember using mailq in my last job. It's reliable.
OR
Orville
2 months ago
lpq is for printers, so that's out. B is the best choice!
ER
Erasmo
2 months ago
I feel confident about B too. It's straightforward.
AZ
Azalee
2 months ago
Yeah, D seems more about sending mail, not listing.
MA
Man
3 months ago
I was torn between B and D, but B is definitely right.
CO
Coletta
3 months ago
Agreed! mailq shows the mail queue.
MI
Michael
3 months ago
I think the answer is B) mailq. It makes sense.
AS
Ashlee
3 months ago
C) mlq? Never heard of that one.
SA
Salina
3 months ago
Wait, is it really that simple?
KE
Keva
3 months ago
Definitely B) mailq, no doubt about it.
HE
Herminia
4 months ago
I thought it was A) lpq at first.
VI
Viola
4 months ago
B) mailq is the right command!
BU
Bulah
4 months ago
I’m pretty sure it’s mailq, but I might be mixing it up with another command. I’ll have to double-check.
LE
Levi
4 months ago
I’m torn between mailq and sendmail --l. I remember both being mentioned in different contexts.
GL
Glenna
4 months ago
I feel like I’ve seen something similar in a practice exam, and I think it was definitely mailq.
OS
Osvaldo
4 months ago
I think the command is mailq, but I’m not completely sure. I remember practicing with mail commands.