[CentOS] Lame question about cp

Fri Mar 2 20:15:53 UTC 2007
Jim Perrin <jperrin at gmail.com>

> How can i copy a file to another with the same name without being
> prompted for a confirmation ?

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

> Any help would be appreciated.

No applause, just throw money. :-P

-- 
During times of universal deceit, telling the truth becomes a revolutionary act.
George Orwell