RE: Lame question about cp

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Try this: \cp from to

IIRC, cp is an alias that translates to cp -i, I believe rm and mv are the
same. Entering the leading \ overrides the alias. Hope that helps.


Happy trails,


Merv

-----Original Message-----
From: Mike McCarty [mailto:Mike.McCarty@xxxxxxxxxxxxx] 
Sent: Monday, March 05, 2007 6:06 PM
To: CentOS mailing list
Subject: Re:  Lame question about cp


Paul Krash wrote:
> Mario (?) wrote:
> 
> 
>>How can i copy a file to another with the same name without being
>>prompted for a confirmation, and -f doesn't work?
> 
> 
> Unalias cp doesn't work....hmmm.

How about

$ which cp

He may have some script sth.

Mike
-- 
p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
Oppose globalization and One World Governments like the UN. This message
made from 100% recycled bits. You have found the bank of Larn. I can explain
it for you, but I can't understand it for you. I speak only for myself, and
I am unanimous in that! _______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos

This email (including any attachments) may contain confidential and/or privileged information or information otherwise protected from disclosure.
If you are not the intended recipient, please notify the sender immediately, do not copy this message or any attachments and do not use it for any purpose or disclose its content to any person, but delete this message and any attachments from your system.
Astrium disclaims any and all liability if this email transmission was virus corrupted, altered or falsified.
---------------------------------------------------------------------
Astrium Limited, Registered in England and Wales No. 2449259
Registered Office: Gunnels Wood Road, Stevenage, Hertfordshire, SG1 2AS, England
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux