unalias

remove alias definitions

KornShell Built-in


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.

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


NOTE

This command is built into the MKS KornShell.


SEE ALSO

Commands:
alias, sh


Updated MKS Toolkit [3khat16.ico]HP3000 [3khat16.ico]3kMail [archive16.gif]