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.

preguntada hace un año233 visualizaciones
1 Respuesta
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
INGENIERO DE SOPORTE
Vinay_S
respondido hace un año

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas