Vidyalelo
Computer Science · Q45

UNIX

Engineering and GATE · Computer Science · question 45

Q45

While working with mail command, which command is used to save mail in a separate file?

A.
s
B.
r
C.
w
Answer
D.
d
E.
None of the above

Answer: Option C

Solution

Answer: Option C
Solution:
In Unix, when using the mail command to read or compose emails, the w command is used to save the mail in a separate file. After composing or reading an email, if you want to save it to a file, you can use the w command followed by the filename. This command writes the email content to the specified file.
So, Option C is the command used to save mail in a separate file while working with the mail command in Unix.