在Ubuntu下执行脚本报错
c.sh: Syntax error: "(" unexpected
解决办法
sudo dpkg-reconfigure dash
ubuntu@ip-172-29-1-5:~$ ll /bin/sh lrwxrwxrwx 1 root root 4 Dec 3 09:14 /bin/sh -> dash*
c.sh: Syntax error: "(" unexpected
sudo dpkg-reconfigure dash
ubuntu@ip-172-29-1-5:~$ ll /bin/sh lrwxrwxrwx 1 root root 4 Dec 3 09:14 /bin/sh -> dash*