Are there any standard exit status codes in Linux?

A process is considered to have completed correctly in Linux if its exit status was 0.

I’ve seen that segmentation faults often result in an exit status of 11, though I don’t know if this is simply the convention where I work (the applications that failed like that have all been internal) or a standard.

Are there standard exit codes for processes in Linux?

10 Answers
10

Leave a Comment