[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] Can I delete these files?
- Subject: RE: [cobalt-users] Can I delete these files?
- From: "Oleg Volkov" <voleg@xxxxxxxxxxxx>
- Date: Thu Aug 29 10:19:01 2002
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
> Personally, I like
>
> % cp /dev/null /home/spool/mail/root
>
> The cp of null writes into the contents thereby deleting them without
> changing any file persmissions, ownership, etc etc..
>
exactly what
# echo > /var/spool/mail/root
do.
This preserve all file attributes. Check this.
Actually this save types. I've typed already more than this
command.
Oleg
--
SHUNRA Software Ltd.
http://www.shunra.com
+972-9-7643743