Shell脚本错误之“-bash: ./test_001.sh: /bin/sh^M: bad interpreter: No such file or directory”
写在开头:shell 菜鸟的第一次自己编写shell时遇到的问题,大神请绕行,多谢!1.shell 脚本的简单内容如下:#!/bin/sh#Date:2018/09/17main(){ echo "---------This is my shell start---------------" ls echo "---------This is my she...
原创
2018-09-17 11:45:39 ·
433 阅读 ·
0 评论