avatar
文章
328
标签
92
分类
14
首页
关于
blog.wo0ow.com解决shell报错-bash命令无法运行问题
搜索
首页
关于

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

发表于2023-07-16|更新于2025-03-24|问题记录
|总字数:48|阅读时长: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/mblog/5003.html
版权声明: 本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来源 blog.wo0ow.com!
SHELLBASH
赞助
  • 微信
    微信
  • 支付宝
    支付宝
上一篇
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 - 2025 By MUMU
Copyright © 2018-2024 wo0ow.com All rights Reserved
苏公网安备32011402012106号 渝ICP备18012869号-1
搜索
数据加载中