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 8.1. Windows Server 2012 R2. Windows 10. Windows Server 2016. Windows Server 2019. Windows 11. Windows Server 2022.

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


NOTE

This command is built into the MKS KornShell.


AVAILABILITY

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


SEE ALSO

Commands:
alias, sh

Using the MKS KornShell


PTC MKS Toolkit 10.4 Documentation Build 39.