mail Linux Commands
What is Linux mail Command?
mail COMMAND:mail command is used to send and receive mails locally and globally.
||Specify subject on command line.
||Send carbon copies to list of users.
||Send blind carbon copies to list. List should be a comma-separated list of names.
||Read in the contents of your mbox for processing; when you quit, mail writes undeleted messages back to this file.
||Ignore tty interrupt signals. This is particularly useful when using mail on noisy phone lines.
The above command display the messages. Press Enter to view the next message after '&' symbol.
mail email@example.com (or) mail firstname.lastname@example.org
Starts a new mail and sent to email@example.com.
To terminate the message, type a period(.) and press Enter (or)
press ctrl+d and press Enter.