Difficulty: Easy
Correct Answer: s
Explanation:
Introduction / Context:
Traditional Unix mail programs provide single-letter commands to manage messages from within the interactive prompt. Knowing how to save a message to a separate mailbox or file is essential for archiving, forwarding through scripts, and organizing important correspondence from the terminal.
Given Data / Assumptions:
Concept / Approach:
The s command (save) writes the current message to a named file or mailbox, including headers. Syntax typically is s filename. The similar command w (write) often writes the message body only (omitting some headers) depending on implementation, while d deletes, and r replies.
Step-by-Step Solution:
Verification / Alternative check:
After saving, check the target file with ls -l saved.txt and view its contents using less saved.txt. You should see the message with headers intact.
Why Other Options Are Wrong:
Common Pitfalls:
Final Answer:
s.
Discussion & Comments