Run Linux Commands
Description
This plugin is designed to execute Linux commands.
Prerequisite: Linux Instance with requisite User Access.
Configurations
No. | Field Name | Description |
---|---|---|
Input Fields: | ||
1 | Session Name | Specify the session name to be used to run the Linux commands. The data type is string. This field is mandatory. Write Linux Commands From Here*: |
2 | Left Pane: Get Input Fields | It contains the field from the input stream in the workflow. |
3 | Right Pane: | Specify the Linux Command(s) to be executed. The data type is string. This field is mandatory. Notes: - Previous step fields or Variable can also be used as a parameter to commands. - If the complete response is not received within the provided time in Max Timeout (In Seconds), then an error occurs. - Provide semi-colon (;) separated commands to execute multiple commands as a batch. - Develop a workflow such that all Run Linux Command step in same workflow should be executed sequentially. -If multiple commands are executed as a batch, then a consolidated output is returned. Known Issues: After executing a command if any input key (i.e. Esc, Enter, etc.) is required to exit the output screen then write these commands in such a way that either the output is redirected to file or Linux variable, and then the output can be fetched by reading the file, or echo the variable. |
4 | Server Response Timeout (In Seconds) | Specify the wait time between the client machine and the target machine during which no communication takes place. Usually there is no communication when the command execution is completed. The value must be a positive numeric value. The default value is 1 sec. |
5 | Max Timeout (In Seconds) | Specify the maximum time to wait to fetch a response from the target machine. If the time exceeds, the step will fail with a timeout error. The value must be a positive numeric value. The default value is 2 sec. Note: If the value is set to 0, the max timeout field value is never considered, and execution runs indefinitely until the server response wait time condition is reached. |
6 | Command Completion Markers (Optional) | Specify one or more markers or delimiters, separated by commas, that indicate the completion of a command's execution. The markers help identify when the command's output has been fully captured. Leave the field blank if not needed. The data type is a string. For example, jsh t24upg ~ -->, c:> |
Output Fields | ||
1 | Response Field Name | Specify an output field to store the response. The default value for this field is “StdOut”. The data type is string. |