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.