CLI Guide

Table Of Contents
Syntax
exec command
Description
The program can be executed with zero or more arguments.
NOTE: The correct syntax for program names and arguments depends on the host system.
Example
To display the date and time on Director-1-1-A:
VPlexcli:/> exec ssh 128.221.253.35 date
Tue Sep 21 14:32:52 UTC 2010
exit
Exits the shell.
Contexts
All contexts.
Syntax
exit
[-e|--exit-code] exit-code
[-s|--shutdown]
Arguments
Optional arguments
[-e|--exit-code] exit-
code
Returns the specified value when the shell exits. If no exit code is specified, then 0 is returned.
[-s|--shutdown]
When running in server mode, shuts down the shell instead of closing the socket. No effect if
not running in server mode.
Description
If the shell is not embedded in another application, the shell process will stop.
Example
VPlexcli:/> exit
Connection closed by foreign host.
service@ManagementServer:~>
168
Commands