O'Reilly logo

Linux Pocket Guide, 2nd Edition by Daniel J. Barrett

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

mutt — stdin  stdout  - file  -- opt  --help  --version

Synopsis

mutt [options]

Mutt is a text-based mailer that runs in an ordinary terminal (or terminal window), so it can be used both locally (e.g., in an X terminal window) or remotely over an SSH connection. It is very powerful, with many commands and options. To invoke it, type:

$ mutt

When the main screen appears, any messages in your mailbox are listed briefly, one per line, and the following commands are available:

Keystroke

Meaning

Up arrow

Move to the previous message.

Down arrow

Move to the next message.

PageUp

Scroll up one pageful of messages.

PageDown

Scroll down one pageful of messages.

Home

Move to the first message.

End

Move to the last message.

m

Compose a new mail message. This invokes your default text editor. After editing the message and exiting the editor, type y to send the message or q to postpone it.

r

Reply to current message. Works like m.

f

Forward the current message to a third party. Works like m.

i

View the contents of your mailbox.

C

Copy the current message to another mailbox.

d

Delete the current message.

While writing a message, after you exit your text editor, the following commands are available:

Keystroke

Meaning

a

Attach a file (an attachment) to the message.

c

Set the CC list.

b

Set the BCC list.

e

Edit the message again.

r

Edit the Reply-To field.

s

Edit the subject line.

y

Send the message.

C

Copy the message to a file. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required