-bash: cd/: No such file or directory
shell脚本 执行shell脚本时,./hello.sh 报上面错误, bash hello.sh 可以成功执行
注意
:#与!有一个空格 ”# !/bin/Bash“ 忽略双引号 为了输出 #
微信扫一扫
shell脚本 执行shell脚本时,./hello.sh 报上面错误, bash hello.sh 可以成功执行
注意
:#与!有一个空格 ”# !/bin/Bash“ 忽略双引号 为了输出 #
相关推荐