[CentOS] Lame question about cp

Fri Mar 2 21:32:35 UTC 2007
James Olin Oden <james.oden at gmail.com>

On 3/2/07, Mário Gamito <gamito at gmail.com> wrote:
> Hi,
> 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.
Try running:

   /bin/cp -f $old_file $new_file