Re: don't understand this command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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@xxxxxxxxx
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux