Linux Command Element

The Linux Command element is used to execute a shell command on a Linux system, and retrieve the output.

The Linux Command is an element that can be imported into the Element Toolbox through the Add Element Add Element button located in the toolbox from the Embedded tab.


The following properties can be changed for the Linux Command element:


The name of the element.


The command to execute (eg. uname -a to get OS version information).


The following triggers are available to execute events from within the Linux Command element:


Execute an event when the source element connected to the Linux Command triggers.

Execution Complete

Execute an event when the specified command is executed successfully. This trigger will pass a string containing the stdout of the executed command.

Execution Error

Execute an event when the specified command fails to execute successfully. This trigger will pass a string of the format:

Return Code: [code] Stdout: [stdout]


The following abilities are available for the Linux Command element when its source element triggers:


Trigger the element(s) that follow the Linux Command element.

Execute Command

Execute the specified command. Any data passed into this ability will be appended to the command as an argument. For example, if the Command property was set to uname, the user can pass -a to this ability. This is the same as specifying uname -a as the Command and passing nothing to this ability.