Actually it seems cp is indeed aliased (well at least for me), type unalias cp to disable it (should be back when you logout/in)

Seb

[sepro@midas ~]$ alias
InterPro        /group/biocomp/projects/ost_ANNOTATION/FUNCT/GO_annotation/interpro/iprscan/InterProScan.pl
)rtemis (java -Xmx200m -jar /nas/biocomp/users/strom/SOFT/artemis_v5.jar
cp      cp -i
)ebug   (perl -d:ptkdb
)ir     (ls -go --color
l.      ls -d .* --color=tty
ll      ls -l --color=tty
ls      ls --color=tty
mv      mv -i
phd     /usr/local/phd/phd.pl
rm      rm -i
vi      vim



Kenny Billiau wrote:
First I thought cp would be aliased to 'cp -i' (interactive) but I don't find anything of such sort. The active aliasses are:

[kebil@midas ~]$ alias
l.      ls -d .* --color=tty
ll      ls -l --color=tty
ls      ls --color=tty
vi      vim

So, maybe you're trying to delete files from which you are not the owner (eventhough you own the directory)?

Kenny

On Wed, 20 Aug 2008, Sofie Van Landeghem wrote:

security reasons?

lieven sterck wrote:
 that `cp -f `is not working ????
 it's asking me for 'overwrite'

 thx,
 L.






-- 
==================================================================
Sebastian Proost                                       PhD Student

Tel:+32 (0)9 331 36 92                        fax:+32 (0)9 3313809
VIB Department of Plant Systems Biology, Ghent University
Technologiepark 927, 9052 Gent, BELGIUM
sepro@psb.ugent.be                         http://www.psb.ugent.be
==================================================================
"If I knew what I was doing, it wouldn't be called research."
                                                 --Albert Einstein