Mail comd
You're looking for a list of common mail commands!
Here are some essential mail commands:
Basic Commands
mail
: Opens the mail program to compose a new message.mailx
: Similar tomail
, but with more features.sendmail
: Sends a message to a specific recipient.mailq
: Displays the mail queue (messages waiting to be sent).
Message Management
cat <message_id>
: Displays the contents of a specific message.delete <message_id>
: Deletes a specific message.undelete <message_id>
: Undeletes a previously deleted message.move <message_id> <folder>
: Moves a message to a specific folder.
Folder Management
ls
: Lists the contents of the current folder.cd <folder>
: Changes the current folder.mkdir <folder>
: Creates a new folder.rmdir <folder>
: Deletes an empty folder.
Search and Filter
search <keyword>
: Searches for messages containing a specific keyword.grep <pattern>
: Searches for messages matching a specific pattern.filter <condition>
: Filters messages based on a specific condition (e.g., sender, recipient, subject).
Miscellaneous
help
: Displays help information for mail commands.quit
: Exits the mail program.
These are just some of the basic mail commands. The specific commands and options may vary depending on your mail client or system.