[root@localhost ~]#mail -u david//指定用户linux命令,首先得到邮件列表
Heirloom Mail version 12.4 7/29/08.Type ? for help.
"/var/mail/david": 10 messages 3 new
1 rootThu Aug 16 17:0721/692"test"
2 rootThu Aug 16 17:0820/631"test"
3 rootThu Aug 16 17:1020/602"test"
4 rootFri Aug 17 08:1520/570"test3"
5 rootFri Aug 17 09:4625/668"test04"
6 rootTue Aug 21 09:1420/609"test04"
7 rootTue Aug 21 09:1520/666"test05"
>N8 wejieFri Oct5 21:3213/403
N9 wejieFri Oct5 21:3313/400
N 10 wejieFri Oct5 21:3713/406
& 10//此处输入邮件编号linux命令,可以得到具体邮件内容
Message 10:
From weijie@david.cnFri Oct5 21:37:11 2018
Return-Path:
X-Original-To: david
Delivered-To: david@david.cn
Date: Fri,5 Oct 2018 21:37:07 +0800 (CST)
From: weijie@david.cn (wejie)
To: undisclosed-recipients:;
Status: RO
hehe
下一个教程:EDA365电子工程师论坛