Kavya TKnowledge Contributor
While working with mail command, which command is used to save mail in a separate file?
While working with mail command, which command is used to save mail in a separate file?
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.