macos 如何在控制台中阅读邮件

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/5864617/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-21 08:01:53  来源:igfitidea点击:

How to read mail in console

macosterminal

提问by Leahcim

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?

我打开我的 Mac 终端,它说:“你有邮件”。我什至不知道我可以在控制台中收到邮件。有谁知道我可以输入什么命令来阅读邮件?

回答by Ernest Friedman-Hill

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

令人震惊的是,它的命名... mail。:)

回答by Some Dude

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

在命令行提示符 ("$") 中,输入 "mail" 然后按 [Enter] 邮件将告诉您等待的电子邮件数量(可能没有)。输入您要阅读的电子邮件的序列号(例如,“1”)并按 [Enter],您将看到电子邮件的文本。要删除电子邮件,阅读后,按“d”键并输入。要退出“邮件”,请按 [Ctrl][d] 关闭应用程序

回答by Gpak

To delete just type delete rangee.g delete 1 - 10

要删除只需键入 delete range例如 delete 1 - 10

回答by Gpak

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