./mongo_test_start.sh: line 1: 锘?!/bin/bash: No such file or directory
执行脚本报警告信息。
执行 dos2unix mongo_test_start.sh 还是不行。
原来是保存文件设置了签名。
重新保存文件,去掉 unicode 签名就好了。
./mongo_test_start.sh: line 1: 锘?!/bin/bash: No such file or directory
执行脚本报警告信息。
执行 dos2unix mongo_test_start.sh 还是不行。
原来是保存文件设置了签名。
重新保存文件,去掉 unicode 签名就好了。