`
javatgo
  • 浏览: 1213357 次
  • 性别: Icon_minigender_2
  • 来自: 北京
文章分类
社区版块
存档分类
最新评论

standard Unix exit codes

阅读更多
UNIX (Symbol)ExitValue
EX_OK 0 No errors during session.
EX_USAGE 64 Command line usage error. The command was used incorrectly (wrong number of arguments, bad flag, bad syntax in a parameter, or whatever).
EX_DATAERR 65 Data format error. The user's input data was incorrect in some way.
EX_NOINPUT 66 Cannot open input. User's input file did not exist or was not readable.
EX_NOUSER 67 Addressee unknown. User specified does not exist.
EX_NOHOST 68 Host name unknown. Host specified does not exist. Used in mail addresses or network requests.
EX_UNAVAILABLE 69 Service unavailable. Occurs if a support program or file does not exist. Can be used as a catchall message when not known why something is not working.
EX_SOFTWARE 70 Internal software error inconsistency, etc. in HSI code (non-operating system- related errors).
EX_OSERR 71 Operating system error, such as cannot fork, cannot create pipe, getuid, returning a non-existent user, etc..
EX_OSFILE 72 Critical OS file missing, cannot be opened, or has some sort of error (syntax error).
EX_CANTCREAT 73 Cannot create user output file.
EX_IOERR 74 Input/output error, occurred while doing I/O on some file.
EX_TEMPFAIL 75 Temporary failure. User is invited to retry.
EX_PROTOCOL 76 Remote error in protocol. The remote system returned something that was not possible during a protocol exchange.
EX_NOPERM 77 Permission denied. User did not have sufficient permission to perform the operation.
分享到:
评论

相关推荐

    unix command line notes (2010)

    - **The exit command(退出命令)**: 使用`exit`命令来结束当前的会话。 - **[Ctrl]+[D]**: 使用组合键`Ctrl+D`来结束当前的Shell会话。 #### 导航文件系统 - **Directories(目录)**: 介绍了Unix文件系统的结构...

    GCC manual

    - **`-pass-exit-codes`**:传递退出代码给下一级编译器。 - **`-x language`**:指定输入文件的类型,如 `-x c` 表示输入文件为 C 语言源文件。 - **`-v`**:显示编译器版本和编译过程中使用的命令。 - **`-###`**...

    Linux高级bash编程

    Exit Codes With Special Meanings E. A Detailed Introduction to I/O and I/O Redirection F. Standard Command-Line Options G. Important Files H. Important System Directories I. Localization J. History ...

    Advanced Bash-Scripting Guide <>

    Exit Codes With Special Meanings E. A Detailed Introduction to I/O and I/O Redirection F. Standard Command-Line Options G. Important Files H. Important System Directories I. Localization J. History ...

    cyassl手册

    ##### 2.4 在非标准环境下构建(Building in a Non-Standard Environment) 如果是在一个不常见的操作系统或处理器架构上构建CyaSSL,则可能需要自定义编译选项来适应这些特殊需求。这通常涉及到对`./configure`脚本...

Global site tag (gtag.js) - Google Analytics