unalias
Removes a previously defined alias
Format:
Removes an alias
unalias alias-name
Removes all aliases
unalias -all
Arguments:
alias-name
The name of the alias to delete.
-all
Removes all aliases.
Description:
The unalias command removes a previously defined alias. You can delete all aliases using the -all option. Aliases defined in the tvdinit.tvd file are also deleted.
Examples:
unalias step2
Removes the step2 alias; step2 is undefined and can no longer be used. If step2 was included as part of the definition of another command, that command no longer works correctly. However, the CLI only displays an error message when you try to execute the alias that contains this removed alias.
unalias -all
Removes all aliases.
- Related Topics