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.
Are you sure that ~/.bashrc is included at opening shell time?
Check if you have:
# include .bashrc if it exists
if [ -f ~/.bashrc ]; then
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
--
To UNSUBSCRIBE, email to debian-user-requ...@li
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
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?
Log out of the shell and back in again.
- --
Daryl Styrk
Naples FL, USA
-BE
I put
alias rm='rm -i'
in .bashrc
but rm still removes without asking for confirmation.
Why?
thanks
tony
--
http://www.baldwinsoftware.com
free/open source software
tcl yer os with a feather...
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". T
4 matches
Mail list logo