dash 和 bash 不同
在dash环境下,let命令会报错
解决方法:
更换软链接, sudo ln -sf /bin/bash /bin/sh
dash 和 bash 不同
在dash环境下,let命令会报错
解决方法:
更换软链接, sudo ln -sf /bin/bash /bin/sh
上一篇:2021-05-02
shell脚本报let not found错,根本原因是dash与bash解析的区别,那么dash和bash又是什么呢?
待续
错误描述:运行shell脚本,报错误test.sh: 4: test.sh: let: not found解决办法:It's because Ubuntu uses the dan if
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M