echo $?
如果等于0 就是TM的成功 否则就是失败
linux 判断上一条命令是否指令成功
猜你喜欢
转载自blog.csdn.net/ljwy1234/article/details/82663821
今日推荐
周排行