linux执行shell

bad interpreter:No such file or directory 

是由不同系统编码格式引起:

在linux中:确保shell文件具有可执行权限

chmod a+x filename

vim filename

set ff

set ff=unix

wq

 

posted @ 2014-12-12 14:04  小刘_php  阅读(73)  评论(0)    收藏  举报