Hitachi

Job Management Partner 1 Version 10 Job Management Partner 1/Advanced Shell Description, User's Guide, Reference, and Operator's Guide


alias command (defines aliases)

Organization of this page

Format

alias  [ -p|-x|+p|+x]  [name  [=value]...]

Description

This command defines aliases or outputs defined aliases to the standard output. If you do not specify at least one argument, it outputs the names and values of the aliases that are currently defined.

Arguments

-p

Outputs the aliases that have been defined, in the form alias alias-name=value.

-x|+x

Defines or outputs exported aliases.

+p

Outputs the aliases that have been defined, in the form alias alias-name.

name

Specifies a name for an alias to be defined or output. To output an alias, specify in name the name of an alias that has already been defined.

value

Specifies the command to set to the alias name specified in name. To define an alias, specify value in the form alias-name=value.

Return codes

Return code

Meaning

0

Normal termination

1

Error termination

  • An attempt was made to output an alias that has not been defined.

Notes

Usage example