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.

demandé il y a un an233 vues
1 réponse
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
INGÉNIEUR EN ASSISTANCE TECHNIQUE
Vinay_S
répondu il y a un an

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions