新安装的ubuntu 18.04,sh脚本不能执行,提示:
经过确认,原来ubuntu 18.04 默认的shell问题,需要切到【sh】,默认的为【dash】
【解决方法】
控制台执行:
sudo dpkg-reconfigure dash
这里选择【No】,就可以配置为 sh了。