I need to push two commands on Linux servers through BigFix. Can anyone suggest me how to do so or is this possible through BigFix or not, because I can see distribution wizard does not contain Linux option.
commands: 1. export CLOUDAMIZE_CUSTOMER_KEY=<key> 2. sh <(curl -s https://.....<file.sh>)
I’d not call myself a Linux admin, but I do question whether, having exported CLOUDAMIZE_CUSTOMER_KEY whether it is available to the following command - the next command is not a child of the command that did the export, it is a sibling.
Yeah I wasn’t sure about the syntax of using those parentheses inside of a shell script. I don’t think the problem here is BigFix itself, but the syntax of the shell script you’re generating.
Is it maybe a difference in which shell is being called (/bin/bash vs /bin/sh vs whatever your login shell is that you’re using to test)?
Even if /bin/sh is a symlink to /bin/bash, bash will use some different syntaxes if it’s being called via the ‘/bin/sh’ name; and in some operating systems, /bin/sh is not Bash at all (i.e. it’s ‘dash’ on Ubuntu)