External Shell Commands and Environment Variables

While running MSGMX you can execute shell commands without exiting MSGMX. You can also reference environment variables from within MSGMX.

To execute a shell command from the MSGMX prompt, use a '!' character in front of any string. The entire string following the '!' (including all spaces as entered) will be passed to the shell for execution.

For example:

cluster@myCluster> !more logfile

To access a shell environment variable from the MSGMX prompt, use a '$' character in front of the variable name.

Typing $ alone produces a dropdown of all the environment variables available with their respective values in the summary.

For example: