快速业务通道

个人笔记:LINUX下MAIL通知维护

作者 佚名技术 来源 Linux系统 浏览 发布时间 2012-04-02

在 linux 中输入 mail, 就进入了收件箱.

d
删除当前邮件,指针并下移.

d 3
删除编号为 3 的邮件.

d 1-100
删除编号第 1 到 100 封邮件.

退出的时候需要注意,一定要用 q 命令来保存之前的操作.

q
退出mail命令平台,保存之前的操作,比如删除已用d删除的邮件,已阅读邮件会转存到当前用户家目录下的mbox文件中.如果在mbox中删除文件才会彻底删除.

x
退出mail命令平台,并不保存之前的操作,比如删除邮件

================================以下为实例=====================================
$ mail
Mail [5.2 UCB] [AIX 5.X] Type ? for help.
"/var/spool/mail/oracle": 38 messages 38 unread
>U 1 daemon Sun Jan 30 16:22 32/953 "Output from cron job /home/o"
U 2 daemon Mon Jan 31 00:00 32/953 "Output from cron job /home/o"
U 3 daemon Tue Feb 1 00:00 32/951 "Output from cron job /home/o"
U 4 daemon Wed Feb 2 00:00 32/951 "Output from cron job /home/o"
U 5 daemon Thu Feb 3 00:00 32/951 "Output from cron job /home/o"
U 6 daemon Fri Feb 4 00:00 32/951 "Output from cron job /home/o"
U 7 daemon Sat Feb 5 00:00 32/951 "Output from cron job /home/o"
U 8 daemon Sun Feb 6 00:00 32/951 "Output from cron job /home/o"
U 9 daemon Mon Feb 7 00:00 32/951 "Output from cron job /home/o"
U 10 daemon Tue Feb 8 00:00 32/951 "Output from cron job /home/o"
U 11 daemon Wed Feb 9 00:00 32/951 "Output from cron job /home/o"
U 12 daemon Thu Feb 10 00:00 32/953 "Output from cron job /home/o"
U 13 daemon Fri Feb 11 00:00 32/953 "Output from cron job /home/o"
U 14 daemon Sat Feb 12 00:00 32/953 "Output from cron job /home/o"
U 15 daemon Sun Feb 13 00:00 32/953 "Output from cron job /home/o"
U 16 daemon Mon Feb 14 00:00 32/953 "Output from cron job /home/o"
U 17 daemon Tue Feb 15 00:00 32/953 "Output from cron job /home/o"
U 18 daemon Wed Feb 16 00:00 32/953 "Output from cron job /home/o"
U 19 daemon Thu Feb 17 00:00 32/953 "Output from cron job /home/o"
U 20 daemon Fri Feb 18 00:00 32/953 "Output from cron job /home/o"
U 21 daemon Sat Feb 19 00:00 32/953 "Output from cron job /home/o"
U 22 daemon Sun Feb 20 00:00 32/953 "Output from cron job /home/o"
U 23 daemon Mon Feb 21 00:00 32/953 "Output from cron job /home/o"
U 24 daemon Tue Feb 22 00:00 32/953 "Output from cron job /home/o"
U 25 daemon Wed Feb 23 00:00 32/953 "Output from cron job /home/o"
U 26 daemon Thu Feb 24 00:00 32/953 "Output from cron job /home/o"
U 27 daemon Fr

凌众科技专业提供服务器租用、服务器托管、企业邮局、虚拟主机等服务,公司网站:http://www.lingzhong.cn 为了给广大客户了解更多的技术信息,本技术文章收集来源于网络,凌众科技尊重文章作者的版权,如果有涉及你的版权有必要删除你的文章,请和我们联系。以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢!

分享到: 更多

Copyright ©1999-2011 厦门凌众科技有限公司 厦门优通互联科技开发有限公司 All rights reserved

地址(ADD):厦门软件园二期望海路63号701E(东南融通旁) 邮编(ZIP):361008

电话:0592-5908028 传真:0592-5908039 咨询信箱:web@lingzhong.cn 咨询OICQ:173723134

《中华人民共和国增值电信业务经营许可证》闽B2-20100024  ICP备案:闽ICP备05037997号