Chapter 2. Primary CLI Syntax Reference80 3ware 9000 Series Serial ATA Controller CLI GuideEnvironment VariablesThere are two environment variables: TW_CLI_INPUT_STYLE (described below) TW_CLI_STYLE is a reporting style variable for the legacy syntax. Fordetails, see “Screen Reporting Style” on page 57.By default, TW_CLI_INPUT_STYLE variable is set to new. If youwant to disable the focus command, set the TW_CLI_INPUT_STYLEvariable to old. For Redhat and SuSE (bash, ksh, or sh), enterexport TW_CLI_INPUT_STYLE=OLD For Linux csh (C-shell), enter:setenv TW_CLI_INPUT_STYLE OLD For Windows, enterset TW_CLI_INPUT_STYLE=OLDTo keep the new CLI Input Style following a reboot or when a new window orshell is opened you must edit the environment variables in both Windows andLinux. Refer to your operating system's administration guide for more details.Return CodeWhile informative messages are written to standard output, error messages arewritten to standard error. On success, 0 is returned. On failure, 1 is returned.‘, at the shell command prompt type:echo $?The screen prints either a 0 or a 1, depending on whether the command wassuccessful or not.For example, if you had a 3ware controller with an ID of 0, you could typethis command:tw_cli /c0 show(c0 information displayed here)echo $?0If you type:tw_cli /c7 showerror: (CLI003) specified controller does not exist.echo $?1This example fails (returns 1) because there is no controller 7.