Shell Commands

Shell commands are quite similar to the bash commands in Unix. Almost all tasks performed on the Web UI can be performed using Shell commands. The shell provides a rich set of navigation, scripting, and help commands.

The default idle timeout for the shell is 15000 milliseconds.
Note: If you are using IPv6 addresses, assuming that the IP address of the machine is 10::4, the syntax of ssh command to be used is:
'ssh -p 2222 admin@10::4
Remember that with IPv6 addresses, ssh -p 2222 admin@[10::4] is not supported.

When working with the Shell commands, after executing a command, an exit code is propagated from the TIBCO Enterprise Administrator server to the agent. When an exception occurs while evaluating a shell command, it results in a non-zero exit code returned by the ssh. You can also create your own exit codes. If an agent throws an exception, you can explicitly set an exit code on the exception.

Caution: Avoid registering two agents with the same ID. The TIBCO Enterprise Administrator server does not validate whether two agents have registered with the same ID.