What is it ?

s6-portable-utils is a set of tiny general Unix utilities, often performing well-known tasks such as cut and grep, but optimized for simplicity and small size. They were designed for embedded systems and other constrained environments, but they work everywhere.

Other set of small utilities are usually system-specific; for instance, the (otherwise good) BusyBox project only works on Linux.

Some of s6-portable-utils' programs are a conformant implementation of a POSIX utility as determined by the Single Unix Specification, version 4; the relevant documentation pages mentions this. However, none of the s6-portable-utils programs supports internationalization.

It is now an explicit non-goal of s6-portable-utils to duplicate the work of existing projects that aim to provide a lightweight implementation of standard commands. No more rewriting of standard commands will occur in s6-portable-utils; the package is now used to host specific utilities such as s6-uniquename.

Prefixing the name of this package — and the names of the binaries it provides — with s6- was a naming mistake. It happened in the early days of the s6 project, before it grew and became an ecosystem focused on supervision, service management and init; despite sharing the same author and the same philosophy, and being designed to work with it, s6-portable-utils is not, stricto sensu, part of the s6 ecosystem, and if you arrived here while trying to understand what s6 is, you are on the wrong page. I apologize for the confusion.




s6-portable-utils is free software. It is available under the ISC license.



Upgrade notes



All these commands exit 111 if they encounter a temporary error, and 100 if they encounter a permanent error - such as a misuse. They exit 127 if they're trying to execute into a program and cannot find it, and 126 if they fail to execute into a program for another reason.

(Miscellaneous tools)

(Multicall configuration)

Related resources