I have used the -f flag and it never seems to work for me; I still get prompted. -----Original Message----- From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On Behalf Of mouss Sent: Friday, March 02, 2007 7:04 PM To: CentOS mailing list Subject: Re: [CentOS] Lame question about cp Mário Gamito wrote: > Hi, > > How can i copy a file to another with the same name without being > prompted for a confirmation ? > > I read the cp man page, but nada. 1. # /bin/cp foo bar 2. # cp -f foo bar 3. # \cp foo bar 4. # unalias cp # cp foo bar ... _______________________________________________ CentOS mailing list CentOS at centos.org http://lists.centos.org/mailman/listinfo/centos