流沙雨帘

关注

ubuntu下执行shell脚本报错 Syntax error: “(“ unexpected

流沙雨帘

关注

阅读 42

2022-06-13

执行脚本​​sh install.sh​​​ 出现​​install.sh: 8: install.sh: Syntax error: "(" unexpected​​

解决办法:

sudo dpkg-reconfigure dash

之后执行脚本方式为:

bash install.sh


相关推荐

独兜曲

执行shell脚本报错:Syntax error “(” unexpected

独兜曲 49 0 0

时光已翩然轻擦

Linux Ubuntu执行bash脚本报错Syntax error: “(“ unexpected

时光已翩然轻擦 137 0 0

四月Ren间

脚本报错:syntax error near unexpected token

四月Ren间 66 0 0

纽二

脚本报syntax error near unexpected token `(',

纽二 82 0 0

以前干嘛去了

shell syntax error: unexpected end of file

以前干嘛去了 65 0 0

产品喵dandan米娜

【shell】真正解决syntax error:unexpected end of file?

产品喵dandan米娜 140 0 0

小禹说财

Error_Unix Shell_syntax error near unexpected token `fi'

小禹说财 53 0 0

余寿

syntax error near unexpected token

余寿 65 0 0

zhyuzh3d

【linux基础】解决shell错误:syntax error: unexpected end of file

zhyuzh3d 132 0 0

飞鸟不急

Syntax Error: Unexpected token (1:1721)

飞鸟不急 68 0 0

精彩评论(0)

0 0 举报