Categories
Linux Mastering Development

Effect of cp /dev/zero a when a exists

If a exists and I type

cp /dev/zero a

can I be sure the old contents of a will be overwritten, or will
I simply get the equivalent of

rm a
cp /dev/zero a

Leave a Reply

Your email address will not be published. Required fields are marked *