FILL BLANK - Which command, available with all sendmail-compatible MTAs, is used to list the contents of the MTA's mail queue? (Specify only the command without any path or parameters.)
mailq
Behave as if the option -bp were present before any other options. The -bp option requests a listing of the contents of the mail queue on the standard output
The command mailq is equivalent to sendmail -bp, and they should be present regardless of the MTA installed in the system.
https://learning.lpi.org/en/learning-materials/102-500/108/108.3/108.3_01/
SENDMAIL - Yes it does meet the requirements to be the answer - as question clearly said DO NOT include any parameters meaning they know the required command does require parameters otherwise would not state it and would rather state Just write the command..so correct answer is SENDMAIL but i believe if either SENDMAIL or mailq were answered you still get the credit for it as both answers are correct
Question with answer from LPIC study guide
Which command can the root user execute to list the undelivered messages that originated on the local system? The command mailq or sendmail -bp. from page 372
Also the following comments
The command mailq is equivalent to sendmail -bp, and they should be present regardless of the MTA installed in the system. To ensure backward compatibility, most MTAs provide these traditional mail administration commands.
Think the answer is wrong, it should be sendmail (without the parameters -bp)
see this site: https://learning.lpi.org/en/learning-materials/102-500/108/108.3/108.3_01/
Yes it does meet the requirements - as question clearly said DO NOT include any parameters meaning they know the required command does require parameters otherwise would not state it and would rather state Just write the command..so correct answer is SENDMAIL but i believe if either SENDMAIL or mailq were answered you still get the credit for it as both answers are correct
Brah. They asked about a command, not a command with options. You are wrong!
Yeah mailq and sendmail -bp both work. The latter one includes options though and they asked about a command.
upvoted 1 times
...
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
lanc
Highly Voted 2 years, 7 months agobrrbrr
Highly Voted 2 years, 5 months agoCybersec1989
Most Recent 2 months, 1 week agoWellison
2 months, 3 weeks agodrliu1202
5 months, 2 weeks agoLazylinux
9 months agoDolus
2 years, 4 months agoMIU
2 years, 1 month agoLazylinux
9 months agoBoqon1234
2 years, 8 months agobiggydanny
2 years, 5 months agoTimfdklfajlksdjlakf
1 year, 6 months ago