1.原因是.sh文件没有执行权限

通过chmod +x xxx.sh ,这样就变成绿色了

2.linux文件颜色与读写权限的关系:

chmod 755 file 绿色
chmod 644 file 白色 

相关文章:

  • 2021-11-27
  • 2021-06-07
  • 2022-02-11
  • 2022-01-03
  • 2021-04-15
  • 2021-10-18
  • 2022-12-23
  • 2021-11-20
猜你喜欢
  • 2021-08-04
  • 2021-08-06
  • 2021-07-26
  • 2021-05-19
  • 2022-01-01
  • 2021-05-26
  • 2022-12-23
相关资源
相似解决方案