127 Return code from $?

后端 未结 8 2058
被撕碎了的回忆
被撕碎了的回忆 2020-11-22 10:23

What is the meaning of return value 127 from $? in UNIX.

相关标签:
8条回答
  • 2020-11-22 11:15

    127 - command not found

    example: $caat The error message will

    bash:

    caat: command not found

    now you check using echo $?

    0 讨论(0)
  • 2020-11-22 11:19

    If the IBM mainframe JCL has some extra characters or numbers at the end of the name of unix script being called then it can throw such error.

    0 讨论(0)
提交回复
热议问题