Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to read mail in console

Tags:

terminal

macos

I opened my Mac terminal and it said, "You have mail" . I didn't even know I could get mail in the console. Does anyone know what command I can enter to read the mail?

like image 687
Leahcim Avatar asked May 03 '11 03:05

Leahcim


2 Answers

Shockingly, it's named... mail. :)

like image 181
Ernest Friedman-Hill Avatar answered Nov 01 '22 18:11

Ernest Friedman-Hill


at the command line prompt ("$"), type "mail" and then hit [Enter] mail will then tell you how many emails you have waiting (possibly none). enter the sequence number of the email you want to read (e.g., "1") and hit [Enter] you will then be shown the text of the email. To delete the email, once read, hit the "d" key and enter. To exit 'mail', hit [Ctrl][d] to close the application

like image 17
Some Dude Avatar answered Nov 01 '22 19:11

Some Dude