Re: [CentOS] don't understand this command

2009-12-18 Thread Robert Nichols
adrian kok wrote: > Hi > > I mistype this shell#/rm a.tar.gz > > it works but it won't confirm and the file is remove > > why? And now you mistyped your mistyping. That would be a backslash (\) not a forward slash (/). Escaping the command name with a backslash bypasses the "alias rm='rm -i'"

Re: [CentOS] don't understand this command

2009-12-18 Thread Les Mikesell
adrian kok wrote: > Hi > > I mistype this shell#/rm a.tar.gz > > it works but it won't confirm and the file is remove > > why? rm never asks for confirmation by default. The reason you think it does is that you normally execute an alias instead of the real command when running as root. You