1.shell脚本文件权限应该有可执行权限
2.shell脚本文件应该设置文件格式为unix,在vi下面的设置方法:set ff=unix
转载于:https://www.cnblogs.com/pengyong1211/p/10995987.html
1.shell脚本文件权限应该有可执行权限
2.shell脚本文件应该设置文件格式为unix,在vi下面的设置方法:set ff=unix
转载于:https://www.cnblogs.com/pengyong1211/p/10995987.html