[CentOS] Lame question about cp

Fri Mar 2 20:37:38 UTC 2007
Joshua Baker-LePain <jlb17 at duke.edu>

On Fri, 2 Mar 2007 at 8:32pm, Mário Gamito wrote

> Jim Perrin wrote:
>> -f should allow you to do this. For root, cp is aliased to cp -i, so
>> you can either set the alias the way you want, or you can do '\cp foo
>> bar'  without the ticks, which tells the system to ignore the alias
>> for the command.
> It doesn't work.
> I already tried that before posting.

Don't log in as root directly -- use sudo instead.  That will avoid the 
alias altogether.

Joshua Baker-LePain
Department of Biomedical Engineering
Duke University