mail internet_addresswhere internet_address is the address of the person you wish to send a message to. You are then thrown into a very crude line editor that lets you type your message. Remember to hit <return> at the end of each line because it can't handle word wrapping. Typing a "." or a <ctrl-D> on a line all by itself will signal the computer that you are finished with the message. The computer will then send the message you just wrote. If you wish to send a file rather than typing the message, use the following command:
mail internet_address < filenamewhere filename is the name of the file containing the message you wish to send. The Redirection section covers the redirection (<) operator in more detail.
Some people get by just fine with mail; however, many people prefer to use a more substantial mail program. Some popular alternatives are elm, pine, and mh.
© 1993-1998 Christopher C. Taylor