[CentOS] Lame question about cp

Sat Mar 3 00:03:41 UTC 2007
mouss <mlist.only at free.fr>

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

...