[CentOS] Lame question about cp

David Ayres dayres at oys.org
Sat Mar 3 01:55:47 UTC 2007

I have used the -f flag and it never seems to work for me; I still get

-----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.

# /bin/cp foo bar

# cp -f foo bar

# \cp foo bar

# unalias cp
# cp foo bar

CentOS mailing list
CentOS at centos.org

More information about the CentOS mailing list