Skip to content

Execute Command#

The Execute Command node runs shell commands on the host machine that runs Localmind Automate.

Node parameters#

Configure the node using the following parameters.

Execute Once#

Choose whether you want the node to execute only once (turned on) or once for every item it receives as input (turned off).

Command#

Enter the command to execute on the host machine. Refer to sections below for examples of running multiple commands and cURL commands.

Run multiple commands#

Use one of two methods to run multiple commands in one Execute Command node:

  • Enter each command on one line separated by &&. For example, you can combine the change directory (cd) command with the list (ls) command using &&.

    1
    cd bin && ls
    
  • Enter each command on a separate line. For example, you can write the list (ls) command on a new line after the change directory (cd) command.

    1
    2
    cd bin
    ls
    

Common issues#

For common questions or issues and suggested solutions, refer to Common Issues.