runShellScript default shell

0

Is there a way to change the default shell for runShellScript in System Manager when you execute a run command? It defaults to sh and that does not behave the same as bash.

gefragt vor einem Jahr233 Aufrufe
1 Antwort
0

Hello,

While executing the run command AWS-RunShellScript, first initialize the shell with shebang and then write the commands.

Here is an example of script content

#!/bin/bash
echo "hello world"

Hope this helps

AWS
SUPPORT-TECHNIKER
Vinay_S
beantwortet vor einem Jahr

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen