Mail (Unix)

Mail (Unix)

mail is a command line e-mail client for Unix and Unix-like operating systems.

Example usage

mail -s "You've got mail" -c cc.rider@b.c somebody@example.com anotherbody@example.netThis sends a message with the subject "You've got mail" to two recipients, somebody and anotherbody, and CCs (copies) a third, cc.rider. The message will be typed after the command is entered and will be ended with Control-D.

If you want to send a message in one line, use any Unix command sequence that generates text. For example:

echo "Some message" | mail -s "meeting today" somebody@example.com This is especially useful for having a system report its status automatically through E-mail.

There is also a -a option for using an ISO-8859 character set beyond US Ascii. For instance:

mail -s "You've got mail" -a ISO-8859-8 somebody@example.com

The -a ISO-8859-8 option tells Mail that the message may include Hebrew characters.


Wikimedia Foundation. 2010.

Игры ⚽ Нужно сделать НИР?

Look at other dictionaries:

  • Mail (Unix) — Définition mail est une commande d envoi de courriel pour Unix. Exemples $>mail s Sujet du mail c cc.rider@b.c adresse1@exemple1.com adresse2@exemple2.com Cette ligne enverra un email aux 2 destinataires, plus une copie cachée à cc.rider. Le… …   Wikipédia en Français

  • mail (Unix) — mail is a command line email client for Unix and Unix like operating systems. Example usage mail s You ve got mail c cc.rider@example.org somebody@example.com anotherbody@example.net This sends a message with the subject You ve got mail to two… …   Wikipedia

  • mail (Unix) — mail est une commande d envoi de courriel pour Unix. Elle nécessite au préalable que la résolution de nom soit possible (via le DNS le plus souvent ou plus basiquement via le fichier hosts). Exemples Exemple simple $> mail s Sujet du mail c cc …   Wikipédia en Français

  • Mail (disambiguation) — Mail is part of a postal system wherein letters, parcels, and packages are delivered to destinations. Mail may also refer to: E mail, electronic mail Mail (Unix), a command line e mail client in Unix Mail (application), an application (aka… …   Wikipedia

  • UNIX-Kommandos — Unix Systeme zeichnen sich durch eine Vielzahl von Kommandos aus, mit denen sich über eine Shell das Betriebssystem bedienen lässt. Die Syntax dieser Kommandos weicht unter den verschiedenen Systemen voneinander ab. Es existieren die beiden… …   Deutsch Wikipedia

  • Unix-Befehle — Unix Systeme zeichnen sich durch eine Vielzahl von Kommandos aus, mit denen sich über eine Shell das Betriebssystem bedienen lässt. Die Syntax dieser Kommandos weicht unter den verschiedenen Systemen voneinander ab. Es existieren die beiden… …   Deutsch Wikipedia

  • Unix-Kommando — Unix Systeme zeichnen sich durch eine Vielzahl von Kommandos aus, mit denen sich über eine Shell das Betriebssystem bedienen lässt. Die Syntax dieser Kommandos weicht unter den verschiedenen Systemen voneinander ab. Es existieren die beiden… …   Deutsch Wikipedia

  • Unix Kommandos — Unix Systeme zeichnen sich durch eine Vielzahl von Kommandos aus, mit denen sich über eine Shell das Betriebssystem bedienen lässt. Die Syntax dieser Kommandos weicht unter den verschiedenen Systemen voneinander ab. Es existieren die beiden… …   Deutsch Wikipedia

  • Unix security — Unix security: maintaining a secure environment on Unix and Unix like operating systems is dependent on design concepts of these operating systems, but vigilance through user and administrative techniques is important to maintain security… …   Wikipedia

  • Unix to Unix CoPy — Protocol (UUCP) ist ein Protokoll zur Übertragung von Dateien zwischen verschiedenen Computern, insbesondere solchen mit dem Betriebssystem Unix. Es gibt dabei auch den Unix Shell Befehl uucp = Unix to Unix CoPy. Die Verbindung zwischen den… …   Deutsch Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”