- Back to Home »
- Mail trong AIX
Xóa từng mail:
$ mail
Mail [5.2 UCB] [AIX 5.X] Type ? for help.
U10457 root Sat May 31 11:02 33/1076 "Output from cron job /backup"
>N10458 root Fri Jun 6 21:07 36/1310 "Output from cron job /backup"
? d
Để xóa toàn bộ mail:
$ mail
Mail [5.2 UCB] [AIX 5.X] Type ? for help.
U10457 root Sat May 31 11:02 33/1076 "Output from cron job /backup"
>N10458 root Fri Jun 6 21:07 36/1310 "Output from cron job /backup"
? d *
Save mail:
$ mail
Mail [5.2 UCB] [AIX 5.X] Type ? for help.
U10457 root Sat May 31 11:02 33/1076 "Output from cron job /backup"
>N10458 root Fri Jun 6 21:07 36/1310 "Output from cron job /backup"
? S 1-x
(Với x là số mail tối đa đang có trong mail box)
Khi đó sẽ tạo ra một file để lưu mail nằm tại: /home/viewer/root.