• ARTICLES
• SUBSCRIBE
SEARCH

Make the Shell Ignore Aliases and Run the Actual Command

Have you ever been on a system that has a whole bunch of aliases, like changing rm to rm -i, and you want it to work the way you’re used to?  There’s an easy way to do it.

Just prepend the command with a \ character. For instance:

\rm filename

This will ignore any aliases, so instead of using the aliased rm=’rm -i’ and prompt you every time.

Lowell Heddings, better known online as the How-To Geek, spends all his free time bringing you fresh geekery on a daily basis. You can follow him on if you'd like.

• Published 08/4/10
• Get exclusive articles before everybody else.