Re: Where do i find Error Codes Documentation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Abhijeet Dharmapurikar wrote:
HI ,
  I get this error 127 while running  a complex
script. I want to know what does this mean and
possibly all other codes .

'man bash' will tell you that 127 is an error code that indicates that a command was not found in the PATH.


exit codes of > 128 indicate that the last child process was killed by the signal $(($RC - 128)). The 'bash' man page documents this as well.

/usr/include/sysexits.h details standard exit codes for Unix applications.

'man errno' will describe all of the errors that can be set for errno when you are programming in C (and possibly other languages). You can use the C function 'perror' to print out a description of the current errno value at runtime.




-- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux