当前位置:网站首页>bad interpreter:No such file or directory
bad interpreter:No such file or directory
2022-06-10 02:43:00 【Crazy banana Nicky】
Linux perform shell Script
newspaper bad interpreter:No such file or directory error !
reason :
.sh Script in windows Written under the system , So there may be invisible characters Most likely, the script file is DOS Format , That is, each line ends with \r\n To mark , Its ASCII The codes are 0x0D, 0x0A.
resolvent :
1) adopt vim filename perhaps vi filename Enter editor
2) And then through shift+: Enter command mode . Then by order set ff perhaps set fileformat View file format .
3) Modify file format dos by unix. Through the command set ff=unix or set fileformat=unix modify , And then execute set ff perhaps set fileformat, Check whether the modification is successful .
4) Start command , Found normal startup , That's it .
边栏推荐
- Dichotomy | 35 Search insert location
- 在子集合中第一个元素是由另一个数组插入的
- Double pointer | 844 Compare strings with backspace
- Viewing memory management from entering kernel state
- Numpy矩阵操作
- College entrance examination [activities]
- PAT (Advanced Level) Practice 1156 Sexy Primes (试除法)
- JDBC introductory exercise, is it caused by the version? What does this error mean?
- 如何用Google Home音箱语音控制智汀家庭云设备?
- How to take a screenshot of the drop-down menu of the software
猜你喜欢

Cordova website packaging_ Cordova packaging website

微信小程序 音乐播放代码(播放方式,歌词滚动)

openGauss“用户故事”正式上线!一键分享实践经验,限量版礼物等你拿

高考【活动】

成为白帽大神 | 挑战 openGauss漏洞奖励计划

Opengauss "user story" is officially launched! One click to share practical experience, Limited Edition Gift waiting for you

CSP 202112-1 序列查询(详解)

1、pytorch入门

Introduction to 51 single chip microcomputer UART serial port communication

JDBC introductory exercise, is it caused by the version? What does this error mean?
随机推荐
3、NLP模型
MySQL 8.0.28 installation and configuration method graphic tutorial (compressed package method)
Stepper motor summary
Example code of redis login registration
Complex model machine experiment
2. Introduction au traitement du langage naturel
Double pointer | 27 Removing Elements
STM32的内部资源
大家用什么工具或平台来做接口性能测试
Wechat applet saves video to photo album wx saveVideoToPhotosAlbum()
双指针 | 27. 移除元素
yocto 构建image出现gstreamer源码编译错误,原因及解决方法
51單片機入門——紅外通信
Basic principle and implementation of redis jump table
Add receiving address [project mall]
电源管理(STM32)
高考【活动】
正则表达式的边界问题。
pixi. JS drag function
Sign in function of Taobao applet