overwriting a file

Henry Hartley henryhartley at westat.com
Mon Dec 8 16:35:39 UTC 2003


>> -----Original Message-----
>> From: Genti A. Hila [mailto:genti_tek4 at hotmail.com] 
>> Sent: Monday, December 08, 2003 11:06 AM
>> 
>> 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

how about:

cp --reply=yes /var/named/named.run /var/named/named.save

--
Henry Hartley





More information about the fedora-list mailing list