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.

質問済み 1年前233ビュー
1回答
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
サポートエンジニア
Vinay_S
回答済み 1年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ