Raymond Norton wrote:
> I have a root mailbox that is way too big with cron job and other info.
> What is the proper way to use the null command to delete all that is in
> it, without removing the root mail box. I had this info in the past, but
> have lost track of it.

as root, assuming a /bin/sh or /bin/bash shell:

	shell# cd /var/spool/mail
	shell# > root

this "zero's" out the file.  You could also just do rm the file and the
touch it and chown, chgrp,chmod  it to what it was, typically root:mail
660.
-- 
scot

_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
Help beta test TCLUG's potential new home: http://plone.mn-linux.org
Got pictures for TCLUG? Beta test http://plone.mn-linux.org/gallery
tclug-list at mn-linux.org
https://mailman.real-time.com/mailman/listinfo/tclug-list