MPE/iX Shell and Utilities Reference Manual, Vol 1

command(1) MPE/iX Shell and Utilities command(1)
ENVIRONMENT VARIABLES
command uses the following environment variable:
PATH
contains a list of directories for command to use when searching for command-name
except as described under the –p option.
DIAGNOSTICS
If you specified –v, possible exit status values are:
0 Successful completion.
1 command was unable to find command-name or an error occurred.
2 Failure due to invalid command line argument.
If you did not specify –v, possible exit status values are:
126 command found command-name, but failed to invoke it.
127 An error occurred in the command utility or it was unable to find command-name.
Otherwise, the exit status of command is the exit status of command-name.
Messages
Message: command-name: not found
Cause: You specified a command-name that command was unable to find.
Action: Check that the command-name exists, was spelled properly, and that you have
the appropriate permissions.
Message: Unknown option "–option"
Cause: You specified an option that is not valid for command.
Action: Check the DESCRIPTION section of this man page for a list of valid command
options.
PORTABILITY
POSIX.2. x/OPEN Portability Guide 4.0.
MPE/iX NOTES
For information on how the current MPE/iX implementation may affect the operation of this
utility, see Appendix A, MPE/iX Implementation Considerations.
SEE ALSO
sh(1)
1-122 Commands and Utilities