1、首先再Idea上安装BashSupport插件

Idea中运行shell脚本

 

 

2、编写firstshell.sh

msg='hello world'
echo $msg

  

3、增加配置

Idea中运行shell脚本

 

 

4、运行firstshell.sh

Idea中运行shell脚本

 

 

输出结果如下:

Idea中运行shell脚本

 

相关文章:

  • 2022-01-05
  • 2021-12-04
  • 2021-11-27
  • 2022-12-23
  • 2021-09-21
  • 2022-12-23
  • 2021-07-27
  • 2021-05-22
猜你喜欢
  • 2021-11-28
  • 2021-06-10
  • 2021-08-27
  • 2021-11-01
相关资源
相似解决方案