[Linux-disciples] trouble with .bashrc
Jamie Forrest
jaf at honksandsirens.com
Sun Nov 7 09:33:52 EST 2004
> Okay, let's go one step back again, if you do
>
> # touch tmp1
> # cp tmp1 tmp2
> # cp -i tmp1 tmp2
>
> do you get prompted?
Yes
> If so, try
>
> alias cpi='cp -i'
> alias mvi='mv -i'
>
> and then
>
> # cpi tmp1 tmp2
that prompts me. okay, i think i found the bug (which, incidentally,
was with me, not with the os). i was expecting these guys to prompt me
every time i used them. now, however, i see that they only prompt me
when the operation they are asked to perform will actually overwrite a
pre-existing file. then they prompt me.
thanks for all your help everyone. as you can see, i need it.
jamie
More information about the Linux-disciples
mailing list