[CentOS] don't understand this command

Robert Nichols rnicholsNOSPAM at comcast.net
Sat Dec 19 01:37:40 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?

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'" that is commonly set
up in root's .bashrc file.

-- 
Bob Nichols     "NOSPAM" is really part of my email address.
                 Do NOT delete it.




More information about the CentOS mailing list