全部书籍

专业

应用 关于 Coach 登录 开始阅读

书籍暂未推出简体中文版——当前显示英文版。

Computer Science · 术语表

什么是 Exit status?

Definition 8.3 University Computer Science — Year 1 · 第 8 章 — The Shell

The exit status of a program is the small integer, from 0 to 255, it hands back when it ends: the value returned by main or passed to exit. By convention 0 means success and any other value failure. The shell keeps the status of the last command in the variable $?.

在原文中阅读 →