How to lookup the meaning of exit codes for Linux command line utilities?

前端 未结 3 1444
北海茫月
北海茫月 2020-12-29 08:32

I have my prompt (bash) configured to print out the exit code from the last command, if it wasn\'t successful (aka not zero). Therefore I\'m seeing a lot of exit codes, even

3条回答
  •  心在旅途
    2020-12-29 08:59

    The advanced Bash scripting guide also provides exit codes with special meanings.

    http://tldp.org/LDP/abs/html/exitcodes.html#EXITCODESREF

提交回复
热议问题