[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-developers] /home/spool/mail



One trick I use to zero out files is to do this:
cat /dev/null > filename

It leaves the file in place with existing permissions but sets it to 0
bytes.

--
Matthew Nuzum
www.bearfruit.org
cobalt@xxxxxxxxxxxxx
 
> -----Original Message-----
> From: cobalt-developers-admin@xxxxxxxxxxxxxxx
[mailto:cobalt-developers-
> admin@xxxxxxxxxxxxxxx] On Behalf Of njd 76
> Sent: Thursday, September 19, 2002 12:17 PM
> To: cobalt-developers@xxxxxxxxxxxxxxx
> Subject: RE: [cobalt-developers] /home/spool/mail
> 
> 
> In my /home/spool/mail directory i have some emails i want to clear.
What
> is
> the easiest way to do it via ssh? do i have to remove the file then
touch
> it. Or is there a better way. Any help would be great!
> 
> Thanks
> 
> _________________________________________________________________
> Join the world's largest e-mail service with MSN Hotmail.
> http://www.hotmail.com
> 
> _______________________________________________
> cobalt-developers mailing list
> cobalt-developers@xxxxxxxxxxxxxxx
> http://list.cobalt.com/mailman/listinfo/cobalt-developers