On Mon, 2003-12-08 at 11:35, Henry Hartley wrote: > >> -----Original Message----- > >> From: Genti A. Hila [mailto:genti_tek4@xxxxxxxxxxx] > >> 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 > Do you have cp aliased to "cp -i"? If so that is the problem. Also examine the permissions on the destination file and destination directory. The "-f" option will take care of some of these problems. -- Graham Campbell <gc1111@xxxxxxxxxxxxx>