<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>yea I am trying to setup a script to remove 
named.run.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I do not get it, why do i need to run unalias 
rm to overwrite a file ???</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>The whole idea is when i run </FONT></DIV>
<DIV><FONT face=Arial size=2>cp /var/named/named.run /var/named/named.saved 
</FONT></DIV>
<DIV><FONT face=Arial size=2>I am asked </FONT></DIV>
<DIV><FONT face=Arial size=2>cp:overwrite '/var/named/named.saved ?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>and i just one to get rid of it.</FONT></DIV>
<DIV> </DIV>
<BLOCKQUOTE dir=ltr 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=BBeers@verisign.com href="mailto:BBeers@verisign.com">Beers, 
  Brian</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=genti_tek4@hotmail.com 
  href="mailto:'genti_tek4@hotmail.com'">'genti_tek4@hotmail.com'</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, December 08, 2003 11:16 
  AM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> RE: overwriting a file</DIV>
  <DIV><BR></DIV>
  <DIV><FONT face="Courier New" color=#0000ff size=2><SPAN 
  class=263531516-08122003>`unalias rm`</SPAN></FONT></DIV>
  <DIV><FONT face="Courier New" color=#0000ff size=2><SPAN 
  class=263531516-08122003></SPAN></FONT> </DIV>
  <DIV><FONT face="Courier New" color=#0000ff size=2><SPAN 
  class=263531516-08122003>Are you doing this in a script?</SPAN></FONT></DIV>
  <BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
    <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
    size=2>-----Original Message-----<BR><B>From:</B> Genti A. Hila 
    [mailto:genti_tek4@hotmail.com]<BR><B>Sent:</B> Monday, December 08, 2003 
    11:06 AM<BR><B>To:</B> <A 
    href="mailto:fedora-list@redhat.com">fedora-list@redhat.com</A><BR><B>Subject:</B> 
    overwriting a file<BR><BR></FONT></DIV>
    <DIV><FONT face=Arial size=2>Hi list,</FONT></DIV>
    <DIV><FONT face=Arial size=2>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</FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT> </DIV>
    <DIV><FONT face=Arial size=2>cp /var/named/named.run 
    /var/named/named.save</FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT> </DIV>
    <DIV><FONT face=Arial size=2>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.</FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT> </DIV>
    <DIV><FONT face=Arial size=2>How can i force it to be non 
    interactive ? I didn't see any option that allows me to do 
    so.</FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT> </DIV>
    <DIV><FONT face=Arial size=2>Thanx</FONT></DIV>
    <DIV><FONT face=Arial 
size=2></FONT> </DIV></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>