avatar
文章
343
标签
92
分类
17
首页
项目
照片
书签
友链
关于
Think Note解决shell报错-bash命令无法运行问题
搜索
首页
项目
照片
书签
友链
关于

解决shell报错-bash命令无法运行问题

发表于2023-07-16|更新于2025-12-11
|总字数:46|阅读时长:1分钟|浏览量:

参考博客:解决shell报错-bash: ./test.sh: bin/bash: bad interpreter: No such file or directory

查看*.sh文件格式

cat -A 文件

使用dos2unix文件转命令

yum install -y dos2unix
dos2unix *.sh

文章作者: MUMU
文章链接: https://blog.wo0ow.com/5003.html
版权声明: 本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来源 Think Note!
上一篇
MySQL8.0登录提示caching_sha2_password问题解决方法
参考博客:MySQL8.0登录提示caching_sha2_password问题解决方法 修改方式 一.修改my.cnf配置文件 [mysqld]default_authentication_plugin = mysql_native_password 二.修改身份验证类型(修改密码) ALTER USER 'root'@'%' IDENTIFIED WITH mysql_native_password BY '123456'; flush privileges; 验证结果 SELECT Host, User, plugin from user; +-----------+------------------+-----------------------+| Host | User | plugin |+-----------+------------------+-----------------------+| % | root ...
下一篇
Vue3安装依赖报错The-engine-node-is-incompatible-with-this-module
参考博客:Vue3安装依赖报错The engine “node“ is incompatible with this module 错误日志: C:\Users\14751\Documents\WorkSpace\gitee\hertzbeat\web-app>yarn installyarn install v1.22.19[1/4] Resolving packages...[2/4] Fetching packages...error eslint-plugin-jsdoc@39.3.25: The engine "node" is incompatible with this module. Expected version "^14 || ^16 || ^17 || ^18 || ^19". Got "20.3.0"error Found incompatible module.info Visit https://yarnpkg.com/en/docs/cli/install for...
© 2018-   wo0ow.com
苏公网安备 32011402012106号 | 渝ICP备 18012869号-1
搜索
数据加载中