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.)
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.)
The command used to list the contents of the mail queue in sendmail-compatible MTAs is 'mailq'. This command is commonly provided by MTAs to ensure backward compatibility and displays the queue's contents by default, without requiring additional 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
mailq is the right answer
mailq ist the answer according to lpic study guide
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.
answer is wrong, correct is " sendmail -bp"
they both do the same thing
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.
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/
if it is without the parameter, it doesn't meet the requirement, and this question is asking no options. So the answer is mailq.
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
mailq According to Japanese LPI official guide.
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/