开发者

How to read mail in console

开发者 https://www.devze.com 2023-03-02 15:46 出处:网络
I opened my Mac terminal and it said, \"You have mail\" . I didn\'t even k开发者_Go百科now I could get mail in the console.Does anyone know what command I can enter to read the mail? Shockingly, it\'s

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


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


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


To delete just type delete range e.g delete 1 - 10


open  /var/mail
vi /var/mail/apple
0

精彩评论

暂无评论...
验证码 换一张
取 消