overwriting a file

Genti A. Hila genti_tek4 at hotmail.com
Mon Dec 8 16:05:47 UTC 2003


Hi list,
When i copy a file to another location and that file exist there already there is a promts that asks for overwriting. How can i skip the prompt

cp /var/named/named.run /var/named/named.save

I tried man cp and tried option  -f ( cp -f   ......) which works fine when I remove a file but still it asks me when i try to overwrite.

How can i force it to be non interactive ? I didn't see any option that allows me to do so.

Thanx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/users/attachments/20031208/90a46d57/attachment-0002.html 


More information about the users mailing list