Bash scripting problems

Alexander Dalloz ad+lists at uni-x.org
Sat Jan 8 16:41:11 UTC 2005


Am Sa, den 08.01.2005 schrieb Chadley Wilson um 17:29:

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

unalias cp

at top of your script.

> Chadley Wilson

Alexander


-- 
Alexander Dalloz | Enger, Germany | new address - new key: 0xB366A773
legal statement: http://www.uni-x.org/legal.html
Fedora GNU/Linux Core 2 (Tettnang) on Athlon kernel 2.6.9-1.6_FC2smp 
Serendipity 17:40:15 up 16 days, 19:24, load average: 0.58, 0.66, 0.61 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20050108/1688263d/attachment-0002.bin 


More information about the users mailing list