Mail (Unix)

Last updated

mail
Developer(s) AT&T Bell Laboratories
Initial releaseNovember 3, 1971;48 years ago (1971-11-03)
Operating system Unix, Unix-like, V
Type Command

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

Contents

History

"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", [1] and so a mail command was included in the first released version of research Unix, First Edition Unix. [2] This version of mail was capable to send (append) messages to the mailboxes of other users on the Unix system, and it helped managing (reading) the mailbox of the current user.

In 1978 Kurt Shoens wrote a completely new version of mail for BSD2, 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. [3] [4]

See also

Related Research Articles

ed (text editor) Line-oriented text editor for Unix developed by Ken Thompson in August 1969 on a PDP-7 at AT&T Bell Labs

ed is a line editor for Unix and Unix-like operating systems. It was one of the first parts of the Unix operating system that was developed, in August 1969. It remains part of the POSIX and Open Group standards for Unix-based operating systems, alongside the more sophisticated full-screen editor vi.

Yacc is a computer program for the Unix operating system developed by Stephen C. Johnson. It is a Look Ahead Left-to-Right (LALR) parser generator, generating a parser, the part of a compiler that tries to make syntactic sense of the source code, specifically a LALR parser, based on an analytic grammar written in a notation similar to Backus–Naur Form (BNF). Yacc is supplied as a standard utility on BSD and AT&T Unix. GNU-based Linux distributions include Bison, a forward-compatible Yacc replacement.

Mbox is a generic term for a family of related file formats used for holding collections of email messages, first implemented for Fifth Edition Unix.

uniq is a utility command on Unix and Unix-like operating systems which, when fed a text file or STDIN, outputs the text with adjacent identical lines collapsed to one, unique line of text.

man page standard UNIX utility for reading manual pages

A man page is a form of software documentation usually found on a Unix or Unix-like operating system. Topics covered include computer programs, formal standards and conventions, and even abstract concepts. A user may invoke a man page by issuing the man command.

nroff is a text-formatting program on Unix and Unix-like operating systems. It produces output suitable for simple fixed-width printers and terminal windows. It is an integral part of the Unix help system, being used to format man pages for display.

roff is the first Unix text-formatting computer program, and a predecessor of the nroff and troff document processing systems.

The comm command in the Unix family of computer operating systems is a utility that is used to compare two files for common and distinct lines. comm is specified in the POSIX standard. It has been widely available on Unix-like operating systems since the mid to late 1980s.

The Unix command su, which stands for substitute user, is used by a computer user to execute commands with the privileges of another user account. When executed it invokes a shell without changing the current working directory or the user environment.

tr (Unix) command in Unix-like operating systems

tr is a command in Unix and Unix-like operating systems. It is an abbreviation of translate or transliterate, indicating its operation of replacing or removing specific characters in its input data set.

In computing, echo is a command that outputs the strings it is being passed as arguments. It is a command available in various operating system shells and typically used in shell scripts and batch files to output status text to the screen or a computer file, or as a source part of a pipeline.

In computing, cp is a command in various Unix and Unix-like operating systems for copying files and directories. The command has three principal modes of operation, expressed by the types of arguments presented to the program for copying a file to another file, one or more files to a directory, or for copying entire directories to another directory.

cpio is a general file archiver utility and its associated file format. It is primarily installed on Unix-like computer operating systems. The software utility was originally intended as a tape archiving program as part of the Programmer's Workbench (PWB/UNIX), and has been a component of virtually every Unix operating system released thereafter. Its name is derived from the phrase copy in and out, in close description of the program's use of standard input and standard output in its operation.

In Unix computing, crypt or enigma is a utility program used for encryption. Due to the ease of breaking it, it is considered to be obsolete.

Lee E. McMahon American computer scientist

Lee E. McMahon (1931–1989) was an American computer scientist. He was a graduate of St. Louis University and obtained a Ph.D. in Psychology at Harvard. He worked for Bell Labs from 1963 until 1989, and is best known for his contributions to early versions of the Unix operating system, in particular the sed stream editor. McMahon contributed to the development of comm, qsort, grep, index, cref, cu, and Datakit and devised the McMahon system tournament.

The advanced debugger adb is the standard UNIX debugger found on Solaris 1 and 2, HP-UX and SCO. It is the successor of a debugger called db.

PATH is an environment variable on Unix-like operating systems, DOS, OS/2, and Microsoft Windows, specifying a set of directories where executable programs are located. In general, each executing process or user session has its own PATH setting.

Datakit is a virtual circuit switch which was developed by Sandy Fraser at Bell Labs for both local-area and wide-area networks, and in widespread deployment by the Regional Bell Operating Companies (RBOCs).

Unix filesystem directory structure used by a Unix-like operating system

In Unix and operating systems inspired by it, the file system is considered a central component of the operating system. It was also one of the first parts of the system to be designed and implemented by Ken Thompson in the first experimental version of Unix, dated 1969.

spell is the standard English language spell checker for Unix and Unix-like operating systems.

References

  1. McIlroy, M. D. (1987). A Research Unix reader: annotated excerpts from the Programmer's Manual, 1971–1986 (PDF) (Technical report). CSTR. Bell Labs. 139.
  2. K. Thompson; D. M. Ritchie (November 3, 1971). "UNIX Programmer's Manual" (PDF). MAIL (I).
  3. POSIX standard entry
  4. "mail, Mail, mailx, nail—history notes", Heirloom Project