zoukankan
html css js c++ java
Linux执行脚本报错:-bash: ./xx.sh: /bin/bash^M: bad interpreter: No such file or directory
1、用vim打开文本
输入 : set ff
这里要先按“:”号
显示文件为dos格式
2、强制装换格式为unix
先按冒号“:”
set ff=unix
然后保存退出
3、再次执行恢复正常。
-----------------------有任何问题可以在评论区评论,也可以私信我,我看到的话会进行回复,欢迎大家指教------------------------ (蓝奏云官网有些地址失效了,需要把请求地址lanzous改成lanzoux才可以)
查看全文
相关阅读:
双启利器EasyBCD帮你找回消失了的Windows
去掉不需要的加载项,让你的Office软件运行如飞
Windows 7中的无损分区工具Partition Master
IIS目录浏览模式时,ISO等文件显示不存在的解决方案
必须常去论坛
SSOについての英訳練習
1月21日
080124 (30,20)
080122 (30,25)
九局下半
原文地址:https://www.cnblogs.com/pxblog/p/14598553.html
最新文章
Chapter 09Manipulation Data 03
Chapter 07Using Subqueries to Solve Queries
Chapter 08Using the Set Operators
Chapter 02 Declaring PL/SQL Variables 02
Chapter 01 Introduction to PL/SQL
Chapter 09Manipulation Data 02
Chapter 02 Declaring PL/SQL Variables 01
python logging模块日志回滚TimedRotatingFileHandler
python 自动化实现定时发送html报告到邮箱
python logging模块日志回滚RotatingFileHandler
热门文章
pyhton 自动化pymysql操作mysqldb数据库增删改查封装
华为企业文化种种
北京买二手房记 (IS2120@BG57IV3)
Handling Invalid Characters in an XML String (zz.IS2120.BG57IV3)
WIN7启动菜单成了英文,如何改回中文
双启利器EasyBCD帮你找回消失了的Windows
IIS目录浏览模式时,ISO等文件显示不存在的解决方案
Windows 7中的无损分区工具Partition Master
去掉不需要的加载项,让你的Office软件运行如飞
WIN7启动菜单成了英文,如何改回中文
Copyright © 2011-2022 走看看