Re: Lame question about cp

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



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