Meaning of exit status 1 returned by linux command

前端 未结 2 464
春和景丽
春和景丽 2020-12-09 15:36

What is meaning of exit status 1 returned by linux command? Like 127 exit status indicates \"command not found\".

I have visited http://linux.die.net/abs-guide/exitc

2条回答
  •  醉酒成梦
    2020-12-09 16:11

    You can see the value of the exit status using man.

    Giving an example below:

    man ls
    

    Now search for string exit

    Adding screen shot below:

    enter image description here

提交回复
热议问题