Reference articles on history, science, culture and more
Encyclopedia

Mail (Unix)

Command-line email client for Unix

01History

"Electronic mail was there from the start", Douglas McIlroy writes in his article "A Research UNIX Reader: Annotated Excerpts from the Programmer’s Manual, 1971-1986", and so a mail command was included in the first released version of research Unix, First Edition Unix. This version of mail was capable of sending (append) messages to the mailboxes of other users on Unix systems, and it helped manage (read) the mailbox of the current user.

In 1978 Kurt Shoens wrote a completely new version of mail for BSD 2, referred to as Berkeley Mail. Although initially installed at /usr/ucb/Mail, (with the earlier Unix mail still available at /bin/mail), on most modern Unix and Linux systems the commands Mail, mail and/or mailx all invoke a descendant of this Berkeley Mail, which much later was the base for the standardization of a mail program by the OpenGroup, the POSIX standardized variant mailx.

Watch videos about Mail (Unix)Explainers and documentaries on YouTube (opens in a new tab)

Sources and credits

This article is adapted from the Wikipedia article Mail (Unix), written by its contributors and licensed under CC BY-SA 4.0. Fathomly has changed the layout, removed citation markers, navigation and maintenance notices, and adjusted punctuation. This adapted version is shared under the same license. For references, see the original article.

Fathomly is not affiliated with or endorsed by the Wikimedia Foundation. Spotted a problem? Tell us.