unalias

remove alias definitions 

Command


SYNOPSIS

unalias name...

unalias -a


DESCRIPTION

unalias removes each alias name from the current KornShell execution environment.

Options

-a 

removes all aliases in the current KornShell execution environment.


DIAGNOSTICS

Possible exit status values are:

0 

Successful completion.

1 

There was exactly one alias that could not be removed.

2 

Failure due to an invalid command line option or there were exactly two aliases that could not be removed.

>2 

Tells the number of aliases that could not be removed.


PORTABILITY

POSIX.2. x/OPEN Portability Guide 4.0. Windows 2000. Windows XP. Windows Server 2003. Windows Vista.

On UNIX systems, unalias is built into the KornShell, but not the Bourne Shell.


NOTE

This command is built into the MKS KornShell.


AVAILABILITY

MKS Toolkit for Power Users
MKS Toolkit for System Administrators
MKS Toolkit for Developers
MKS Toolkit for Interoperability
MKS Toolkit for Professional Developers
MKS Toolkit for Enterprise Developers
MKS Toolkit for Enterprise Developers 64-Bit Edition


SEE ALSO

Commands:
alias, sh

Using the MKS KornShell


MKS Toolkit 9.2 Documentation Build 16.