Andrew Beaton :: FAQ

Delete all root mail using shell

by Andrew on Nov.27, 2009, under Linux

The easiest way is to empty root or a users email message file i.e. /var/spool/mail/root or /var/spool/mail/username is to simply type the following command at shell:

cat /dev/null > /var/spool/mail/root
:, ,
No comments for this entry yet...

Leave a Reply

Powered by WP Hashcash

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

 

Archives

All entries, chronologically...