Bash scripting problems

Johnathan Bailes johnathan.bailes at gmail.com
Tue Jan 18 17:08:16 UTC 2005


On Mon, 17 Jan 2005 17:17:40 -0800, Paul <fedora at barley.vel.net> wrote:
> Nifty Hat Mitch wrote:
> >>>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?
> 
>         In csh simply enclose the rm in quotes, "rm" to break the alias. Bash
> is different?
> 

Hhhhhmmm I believe I always did a 

\rm  

that's right a backslash or just gave it the entire path.




More information about the fedora-list mailing list