exit 0表示成功(Zero - Success) 非0表示失败(Non-Zero - Failure) 2表示用法不当(Incorrect Usage) 127表示命令没有找到(Command Not Found) 126表示不是可执行的(Not an executable) =128 信号产生 相关资料 http://blog.163.com/bobile45@126/blog/static/96061992201311712658570/