mutt
communicationLinux/Unix
The mutt command is one of the most frequently used commands in Linux/Unix-like operating systems. mutt Text-based email client for Unix-like systems
Quick Reference
Command Name:
mutt
Category:
communication
Platform:
Linux/Unix
Basic Usage:
mutt [options] [arguments]
Common Use Cases
Syntax
mutt [options] [-Z] [-f mailbox] [-e command] [--] [addresses...]
Options
Option | Description |
---|---|
-a file |
Attach a file to the message |
-b address |
Specify a BCC (blind carbon copy) recipient |
-c address |
Specify a CC (carbon copy) recipient |
-D |
Print debugging information |
-e command |
Specify a command to execute after initialization |
-f mailbox |
Specify which mailbox to load |
-F muttrc |
Specify an alternative initialization file |
-h |
Display help |
-H file |
Specify a draft file for message |
-i file |
Include specified file in message body |
-m type |
Specify a default mailbox type |
-n |
Do not read the system Muttrc |
-p |
Resume a postponed message |
-R |
Open mailbox in read-only mode |
-s subject |
Specify a subject (must be enclosed in quotes if it contains spaces) |
-v |
Display the Mutt version number and compile-time definitions |
-x |
Simulate the mailx send mode |
-y |
Start with a listing of all mailboxes specified by the mailboxes command |
-z |
When used with -f, don't start if there are no messages |
-Z |
Open the first folder with new mail, exit immediately if none |
-- |
End of options, followed by recipient addresses |
Common Keyboard Commands in Mutt:
Key | Action |
---|---|
? |
Help |
q |
Quit |
m |
Compose new mail |
r |
Reply to sender |
g |
Reply to all |
f |
Forward message |
d |
Delete message |
u |
Undelete message |
s |
Save message |
c |
Change to a different mailbox |
/ |
Search |
t |
Tag message |
$ |
Save changes to mailbox |
Examples
How to Use These Examples
The examples below show common ways to use the mutt
command. Try them in your terminal to see the results. You can copy any example by clicking on the code block.