Hi,
As Tony said, you probably have an alias set for rm, check your login shell.
For example, if you're using korn shell go to your home directory and edit .kshrc and look for the line alias rm=.... you will probably see rm='rm -i' where the -i(interactive) is set for security reason, in order to prevent you from deleting files without asking.
You can also "unalias" anything you have set an alias for by typing:
unalias <name_of_alias>
for example:
unalias rm
would remove the alias that you have set for rm. But like ChristianS mentioned, it's set for security reasons so you have to be careful if you want to unalias the rm alias.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.