Multiple choice technology operating systems

what is the command use to send email with subject?

  1. mail -sub "subname"

  2. mail -s "subname" "emailid"

  3. mail "emailid" (sends an email with default sub line))

  4. none

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

The mail command uses the -s flag to specify the subject line when sending emails. The correct syntax is 'mail -s "subject" [email protected]', where the subject immediately follows the -s flag. Option A incorrectly uses -sub instead of -s.