Bash scripting problems
Kevin Kempter
kevin.kempter at dataintellect.com
Sat Jan 8 19:31:20 UTC 2005
You could also try 'rm -f' or 'cp -f' to avoid the prompts...
Patrick Boutilier wrote:
> Chadley Wilson wrote:
>
>> greetings
>>
>> I have this issue:
>> in /root/.bashrc there is an alias which breaks my script in the
>> following way:
>> When I need to copy or del a file the rm -i and cp -i are preventing
>> things from running smoothly.
>>
>> I have tried numerous tricks none work?
>>
>> could some-one please show me how you work around this without
>> editing the basrc files?
>
>
> Try using /bin/rm and /bin/cp in your script. I believe that will not
> use the aliased versions.
>
>>
>> TIA
>
>
More information about the fedora-list
mailing list