Open System Services Shell and Utilities Reference Manual (G06.29+, H06.08+, J06.03+)
test(1) OSS Shell and Utilities Reference Manual
EXIT VALUES
The test command evaluates expression and, if its value is TRUE, returns an exit value of 0
(zero); otherwise, it returns a value of 1 (FALSE); the test command also returns an exit value of
1 if there are no arguments.
RELATED INFORMATION
Commands: find(1), sh(1).
STANDARDS CONFORMANCE
The -a file function (an expression primary operand) is an extension to the XPG4 Version 2
specification.
9−12 Hewlett-Packard Company 527188-021