Skip to content
systemcoding.dev

Tag

linux

82 posts

Flat illustration of user space above the system call boundary, the kernel and the hardware, with the Linux, FreeBSD and Rust logos.
Systems Programming

Exit Codes and Conventions for Unix Tools

What exit status 0, 1, 2, 126, 127 and 128 plus a signal number mean on Linux, how a shell reads them, and which codes your own command-line tool should return.

7 min read