[CentOS] don't understand this command

Les Mikesell lesmikesell at gmail.com
Fri Dec 18 21:30:05 UTC 2009


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 must have become root in a way that did not load 
the shell aliases.

-- 
   Les Mikesell
    lesmikesell at gmail.com



More information about the CentOS mailing list