1、首先再Idea上安装BashSupport插件
2、编写firstshell.sh
msg=‘hello world‘ echo $msg
3、增加配置
4、运行firstshell.sh
输出结果如下:
Idea中运行shell脚本
原文:https://www.cnblogs.com/linlf03/p/14702606.html