1、首先再Idea上安装BashSupport插件 2、编写firstshell.sh msg='hello world' echo $msg 3、增加配置 4、运行firstshell.sh 输出结果如下: 相关文章: