HP Storage Essentials V5.00.01 CLI guide (T4283-96015, January 2006)

Storage Essentials 5.00.01 CLI Guide 5
Accessing Error Codes
To access error codes, enter one of the following at the command prompt after you have entered a
CLI command:
Microsoft Windows -
echo %errorlevel%
UNIX (C shell) -
echo $status
UNIX (Bourne shell, Bourne Again shell, and Korn shell)
echo $?
The error code is returned, for example 0, which means there is no error.