首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 操作系统 > UNIXLINUX >

想写个shell脚本configure和make一个Linux Kernel如何判断成功还是失败呢

2012-09-10 
想写个shell脚本configure和make一个Linux Kernel怎么判断成功还是失败呢?想写个shell脚本configure和make

想写个shell脚本configure和make一个Linux Kernel怎么判断成功还是失败呢?
想写个shell脚本configure和make一个Linux Kernel怎么判断成功还是失败呢?
一定要依赖expect么?谢谢。

[解决办法]
不用吧,shell本身不就能判断上一个命令的返回值么
[解决办法]
在linux中echo $? 就是返回值,返回为0则是成功,其他则为不成功
[解决办法]
如果不会的话联系我的邮箱也行jianchao8023@163.com

热点排行