[RH List] how to copy a file , and ignore the prompt...
bruce
bedouglas at earthlink.net
Mon Jul 26 04:22:25 UTC 2004
'ppreciate the repsonses to my question!!!!
thanks!
-----Original Message-----
From: redhat-list-bounces at redhat.com
[mailto:redhat-list-bounces at redhat.com]On Behalf Of Jason Dixon
Sent: Sunday, July 25, 2004 6:16 PM
To: General Red Hat Linux discussion list
Subject: Re: [RH List] how to copy a file , and ignore the prompt...
On Jul 25, 2004, at 9:12 PM, Ashley M. Kirchner wrote:
> On Sun, 25 Jul 2004, bruce wrote:
>
>> a real basic question. how can i copy a file in linux so that i
>> ginore/don't
>> respond to the prompt???
>>
>> google/help/man pages indicate that cp without the "-i" should work.
>> when i
>> use:
>>
>> cp foo.dat foo1.dat
>> i still get the prompt if foo1.dat exists.
>
> That's because by default, .bashrc will alias 'cp -i' to 'cp' - so
> you'd have to undo that before it works the way you want it to. Edit
> your
> .bashrc file and get rid of the alias.
Or just use "unalias cp" to make it effective only for the running
shell.
--
Jason Dixon, RHCE
DixonGroup Consulting
http://www.dixongroup.net
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
More information about the redhat-list
mailing list