[CentOS] Lame question about cp

David Mackintosh David.Mackintosh at xdroop.com
Sat Mar 3 02:24:42 UTC 2007


On Fri, Mar 02, 2007 at 08:32:03PM +0000, Mário Gamito 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.

try: unalias cp

that should clear the alias, if that's what's hanging you up.

-- 
 /\oo/\
/ /()\ \ David Mackintosh | 
         dave at xdroop.com  | http://www.xdroop.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.centos.org/pipermail/centos/attachments/20070302/db3bf729/attachment.bin


More information about the CentOS mailing list