Linux unalias command

Updated: 05/04/2019 by Computer Hope
unalias command

On Unix-like operating systems, the unalias command is a shell command which removes each name from the list of defined aliases.

This page covers the bash built-in version of unalias.

Syntax

unalias [-a] name [name ...]

Arguments

-a Specifies the name of the alias that you want to remove.

Examples

If you did the example on our alias page, to remove that example which was called "home" you would type the following command.

unalias home

alias — Create an alternate name for a command.