mail [username]

Asked by Jean-Claude Bateau

How do I end a mail message and return to the Linux prompt?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Samuel Iglesias
Solved:
Last query:
Last reply:
Revision history for this message
Best Samuel Iglesias (samuelig) said :
#1

Write a newline with only one dot. For example:

$ mail root
Subject: hello
How are you?
.

Revision history for this message
Jean-Claude Bateau (private-jbateau) said :
#2

I fixed the problem. The answer is ^D (Ctrl-d) and that works.

Thanks,

Jean-Claude