/usr/bin/env:'bash\r':没有这样的文件或目录 /usr/bin/env: bash: No such file or directory 解决方法: # sed -i "s/\r//" shell文件名