在ubuntu上简单写了个脚本,一运行就报 Syntax error: Bad fd number后来在stackoverflow找到了方法rm -rf /bin/sh ln -s /bin/bash /bin/sh 之后就可以正常运行sh文件了