摘要: 写好的shell sh执行脚本报错[[: not found,改shell多麻烦,索性直接把电脑默认的dash改成使用bash 1.查看目前使用 Ubuntu版本默认sh都是使用的dash 结果为 /bin/sh -> dash 2.执行下面命令选择不使用默认dash 选择no 3.查看切换后的结果 阅读全文
posted @ 2019-06-26 10:01 DemonTech 阅读(2545) 评论(0) 推荐(0) 编辑