Cmd /c equivalant for Linux/CentOS?

Hi. Can anyone help me with the correct command to use when doing a Remote Control > Execute Command on Linux render node, specifically, CentOS 7.5, please?

Like how you need to start the command with cmd /c for Windows node, what would the syntax be for Linux/CentOS node?

You could try sh -c which would work on most shells. It executes the given command e.g.
sh -c "echo $PATH"

1 Like

Thank you :slight_smile:

If there are double quotes in the command I want to run, do I escape them with backslashes?

I think so, not totally sure. You should read the documentation for your shell in this case.

1 Like