Execute a UNIX command

UNIX expert out there. How can I execute below command using Bigfix. Thanks

cd /home/systems; /usr/local/bin/cdt -p -X /etc/cdtexclude.txt -O -T -w /etc/cdttestcards.txt -l 50 /

Click on new fixlet and select action type - sh

You can put that in the shell script and call that shell script.

Do i need to put “wait”? Thanks

wait cd /home/systems; /usr/local/bin/cdt -p -X /etc/cdtexclude.txt -O -T -w /etc/cdttestcards.txt -l 50 /

Not required.
It will work same as script which you are executing in Linux box

Failed with exit code “none”

below is the script:

// Enter your action script here
#!/bin/sh
cd /home/systems; /usr/local/bin/cdt -p -X /etc/cdtexclude.txt -O -T -w /etc/cdttestcards.txt -l 50 /

Can you capture a log file on UNIX server to discover more information ?

I see that you are using action script…change the script type to .sh

//Shell to Action Script Conversion Utility
delete __appendfile

appendfile cd /home/systems; /usr/local/bin/cdt -p -X /etc/cdtexclude.txt -O -T -w /etc/cdttestcards.txt -l 50 /

//modify appendfile to allow execution
wait chmod 555 "{(client folder of current site as string) & “/__appendfile”}

//execute shell script as written
wait “{(client folder of current site as string) & “/__appendfile”}”

I am getting a exit code “126” . Thanks