Mail (command)

From LQWiki
Jump to navigation Jump to search

mail is a command to start a very basic commandline oriented mail user agent.

Invoking mail from the commandline is simple:


To create an e-mail to another user on the same system use:

 mail -s topic username

All text entered until a line consisting of a single dot will then be regarded as the mail body.