[Linux-disciples] trouble with .bashrc
Adam Rosi-Kessel
adam at rosi-kessel.org
Sun Nov 7 09:18:45 EST 2004
On Sun, Nov 07, 2004 at 09:14:20AM -0500, James Forrest wrote:
> >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.
Okay, let's go one step back again, if you do
# touch tmp1
# cp tmp1 tmp2
# cp -i tmp1 tmp2
do you get prompted?
If so, try
alias cpi='cp -i'
alias mvi='mv -i'
and then
# cpi tmp1 tmp2
--
Adam Rosi-Kessel
http://adam.rosi-kessel.org
-------------- 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/ee653c9e/attachment.pgp
More information about the Linux-disciples
mailing list