windows执行bash脚本

Windows执行shell脚本
1、 安装Git
windows执行bash脚本_第1张图片
2、 查看Git环境变量
右击电脑-属性-高级-高级系统设置
windows执行bash脚本_第2张图片
已设置环境变量
windows执行bash脚本_第3张图片
windows执行bash脚本_第4张图片
3、 打开Git bash
定位到sh文件所在目录,直接使用bash 或sh 来执行bash shell脚本:
windows执行bash脚本_第5张图片

你可能感兴趣的:(bash)