开发者社区> 问答> 正文

/usr/bin 下存在某文件,执行却显示not found

mac下连intel edison开发板(yocto系统),用不了configure_edison这个命令

系统:Poky (Yocto Project Reference Distro) 1.6 edison

img-version : edison-rel1-maint-weekly_build_16_2014-10-14_14-56-19

root@edison:/# /usr/bin/configure_edison
-sh: /usr/bin/configure_edison: not found
root@edison:/# ls -l /usr/bin/configure_edison
-rwxr-xr-x 1 root root 34356 Oct 14 13:24 /usr/bin/configure_edison
可执行没错,存在没错,为什么会显示not found呢

展开
收起
a123456678 2016-06-20 16:38:36 4177 0
1 条回答
写回答
取消 提交回答
  • 在debian,ubuntu以及centos系统上测试,如果直接运行/usr/bin/configure_edison这样的命令而文件却不存在时,提示No such file or directory错误。而如果执行bash /usr/bin/configure_edison类似的命令而bash不存在的话,提示command not found错误。不熟悉Yocto系统,不知道是否情况类似。建议看一下sh命令运行其他程序(比如sh ls -l)是否正常;然后试一下sh /usr/bin/configure_edison

    2019-07-17 19:44:21
    赞同 展开评论 打赏
问答分类:
问答地址:
问答排行榜
最热
最新

相关电子书

更多
Borgaonkar-New-Adventures-In-Spying-3G-And-4G-Users-Locate-Track-And-Monitor 立即下载
低代码开发师(初级)实战教程 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载