Linux下运行shell的怪异问题

从windows下拷贝写好的shell脚本,报错

command not found

让人摸不着头脑

用dos2unix命令转换一下该脚本就ok了

猜你喜欢

转载自xubaolin9.iteye.com/blog/855528