shell脚本中source aaa.sh时提示 source: not found
来源:互联网 发布:网络直播招聘范文 编辑:程序博客网 时间:2024/06/05 15:57
现象: shell脚本中source aaa.sh时提示 source: not found
原因:
<span style="font-family: Arial;">ls -l `which sh` </span>
提示/bin/sh -> dash
这说明是用dash来进行解析的。
改回方法:
命令行执行:
sudo dpkg-reconfigure dash
在界面中选择no
再
<span style="font-family: Arial;">ls -l `which sh` </span>
提示/bin/sh -> bash
修改成功,source可以用了~
0 0
- shell脚本中source aaa.sh时提示 source: not found
- Eclipse中调试时,提示source not found
- android Debug时提示source not found
- linux脚本 source: not found
- ubuntu build 文件中提示source: not found
- ubuntu系统shell 中source: not found错误
- 在查看源码时Eclipse提示source not found
- myeclipse debug模式提示 source not found
- ubuntu 编译提示 source: not found
- myeclipse debug模式提示 source not found
- Eclipse Debug提示source not found解决方案
- Maven jetty debug 提示source not found
- ecplise断点调试提示source not found
- shell中source sh exec的区别
- debug时source not found
- shell脚本配置环境变量时 source XXX.sh与 ./XXX.sh的区别
- 如何获得 sh 或 source 执行的shell 脚本位置
- ubuntu中./ 时 source not found 的解决方法
- 炼数成金---Rcur网络爬虫
- 设计模式--工厂模式
- Android-自定义圆角Toast提示框
- Struts2得到Request和Session
- 机房收费系统总结——代码独立性
- shell脚本中source aaa.sh时提示 source: not found
- poj 2562 Primary Arithmetic
- 2014阿里前端线上笔试题
- String常量池
- STM32 PWM
- Oracle11g服务启动
- 汇编语言学习第二弹
- 计算一个字符串中包含子串的个数
- 一位Google程序员的算法学习之路