git bash使用chmod不生效
问题现象在windows下使用git bash执行shell命令$ chmod +x test.sh-rw-r--r-- 1 OME 197121 997 Apr 21 10:08 test.sh·问题原因shell脚本前面没有加上#!/bin/bash
·
问题现象
在windows下使用git bash执行shell命令
$ chmod +x test.sh
-rw-r--r-- 1 OME 197121 997 Apr 21 10:08 test.sh
·问题原因
shell脚本前面没有加上#!/bin/bash
更多推荐
所有评论(0)