[CentOS] Lame question about cp

Sun Mar 4 11:36:37 UTC 2007
Michael Velez <mikev777 at hotmail.com>


> -----Original Message-----
> From: centos-bounces at centos.org 
> [mailto:centos-bounces at centos.org] On Behalf Of Mário Gamito
> Sent: Sunday, March 04, 2007 6:17 AM
> To: CentOS mailing list
> Subject: Re: [CentOS] Lame question about cp
> Hi,
> > I have seen a lot of sensible advice, but you reported none worked, 
> > which is odd.
> Nothing worked :(
> Only removing the alias, which is a thing i don't want to do.
> Warm Regards,
> Mário Gamito
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos

if you don't want to remove the alias use:

/bin/cp foo foo1

or, if that doesn't work (which it works for me), use:

/bin/cp -f foo foo1

Both of these have been recommended already and should work. This does not

Specifying the /bin path says for this execution only, do not use the
aliased version.