I have bunch of mails in my solaris account
107 letters found in /var/mail/icinga, 1 scheduled for deletion, 0 newly arrived
107 d 2886 MAILER-DAEMON Fri Jun 11 00:39:39 2010
> 106 2895 MAILER-DAEMON Fri Jun 11 00:13:02 2010
105 2890 MAILER-DAEMON Fri Jun 11 00:10:05 2010
104 2888 MAILER-DAEMON Tue May 18 15:13:34 2010
103 2874 MAILER-DAEMON Tue May 18 14:58:29 2010
102 2874 MAILER-DAEMON Tue May 18 14:28:34 2010
Any idea how can i delete all of them with 1 command line instead of line by line?
mail
(not so user friendly) andmailx
(slightly more user friendly). Many sites / newer releases also install much more user friendly & powerful command line mail readers such asmutt
,elm
, andpine
(plus of course Thunderbird and Evolution at sites running it as a desktop).