Multiple choice technology programming languages

Which command prints the contents of the mail queue ?

  1. mailx

  2. mailstats

  3. mail

  4. mailq

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

mailq displays the contents of the mail queue, showing messages waiting to be delivered. mail and mailx are email user agents for reading/sending mail, and mailstats reports mail statistics rather than queue contents.