[Linux-disciples] trouble with .bashrc

Dylan Thurston dpt at lotus.bostoncoop.net
Sun Nov 7 09:32:22 EST 2004


On Sun, Nov 07, 2004 at 09:14:20AM -0500, Jamie Forrest wrote:
> On Nov 7, 2004, at 9:11 AM, Adam Rosi-Kessel wrote:
> >Just to make sure we're barking up the right tree, if you run
> >
> >alias cp='\cp -i'
> >alias mv='\mv -i'
> >
> >from the command line and then run 'cp' and 'mv', do you get the
> >interactive prompts?
> 
> aha!  good thought.  NO.  these don't work from the command line.

Very strange.  This works for me:

--------------------------------------------------
dpt at lotus:/tmp$ touch a
dpt at lotus:/tmp$ touch b
dpt at lotus:/tmp$ alias cp='\cp -i'
dpt at lotus:/tmp$ cp a b
cp: overwrite `b'? n
dpt at lotus:/tmp$ alias 
alias cp='\cp -i'
alias ls='ls --color=auto '
--------------------------------------------------

What shell are you running?  What does 'alias' tell you?

Peace,
	Dylan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.bostoncoop.net/pipermail/linux-disciples/attachments/20041107/a577ba34/attachment.pgp


More information about the Linux-disciples mailing list