Back to the command reference

unalias

ShellBeginner In simulator In real Linux

Remove an alias

Name: unalias

You can practise it right away in the simulator, and use it in real Linux mode too.

Description

unalias is a shell builtin that removes aliases; -a removes them all. To bypass an alias just once, prefix the command with a backslash, e.g. \ls.

Syntax

unalias [-a] NAME...

Common options

-aRemove every alias

Examples

Related