Re: overwriting a file -thanx i got it working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



----- Original Message ----- 
From: "Christophe Le Guern" <christophe@xxxxxxxxxxxx>
To: <fedora-list@xxxxxxxxxx>
Sent: Monday, December 08, 2003 11:21 AM
Subject: Re: overwriting a file


> On Mon, 8 Dec 2003 11:05:47 -0500
> "Genti A. Hila" <genti_tek4@xxxxxxxxxxx> wrote:
>
> > 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.
>
> Look at ~/.bashrc, there is some alias like cp='cp -i', just comment it
out.
>
> Christophe
>
>
> --
> fedora-list mailing list
> fedora-list@xxxxxxxxxx
> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
>




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux