Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

linux mail

Status
Not open for further replies.

dustervoice

Technical User
Apr 2, 2009
56
GB
How do i erase mail from the root mailbox in centos?
 
Give this a try -

cat /dev/null > /var/spool/mail/root

WARNING!!!! - This will delete ALL the root email.


Hope this helps,

Steve
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top