1、在linux系统通过脚本安装程序时,提示:
-bash: ./setup.sh: /bin/ksh: bad interpreter: No such file or directory
如下图:

2、经查,原来是系统没有安装ksh。
# ls /bin/ksh

3、通过yum安装ksh
# yum install ksh

4、再执行脚本安装,不在提示上面报错,问题解决

1、在linux系统通过脚本安装程序时,提示:
-bash: ./setup.sh: /bin/ksh: bad interpreter: No such file or directory
如下图:

2、经查,原来是系统没有安装ksh。
# ls /bin/ksh

3、通过yum安装ksh
# yum install ksh

4、再执行脚本安装,不在提示上面报错,问题解决
