随笔 - 121
文章 - 0
评论 - 2
阅读 -
68745
11 2021 档案
运行脚本时报 line 1: #!/bin/bash: No such file or directory
摘要:背景:运行脚本是报 line 1: #!/bin/bash: No such file or directory 原因:一般 which bash 文件存在的话,就是dos格式的问题,dos格式要改成 uninx 格式,才能正常运行! 如果我们在windows系统下创建了一个文件,默认的换行格式就是
阅读全文