[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: bash alias ineffective?



On Fri, Jun 05, 2009 at 03:43:25PM -0400, Tony Baldwin wrote:
> I put
> alias rm='rm -i'
> in .bashrc
> but rm still removes without asking for confirmation.
>
> Why?

you need to source it using
. .bashrc
or 
source .bashrc

HTH,

-- 
Zhengquan


Reply to: