Shell and job control
Start an interactive shell with nebox sh -i. It supports editable history, tab completion, pipelines and background jobs. nsh adds a colored prompt and XDG history and configuration files.
CoreUserland
A Unix toolbox written in Nelua.
One static x86-64 binary carries 138 executable applets, including a POSIX shell. Pass a command to nebox or run it through a link named after the applet.
$ nebox --list | nebox wc -l
138
$ nebox sh -c 'command -v cd'
cd · b948bce
upstream command names covered
The catalog combines BusyBox 1.38.0 and Toybox 0.8.15. A name counts when Nebox supports each way upstream invokes it. The check reads --list for executables and uses command -v inside the Nebox shell with external commands off its search path.
nebox --listThe standalone build lists 138 commands, including 12 outside the two upstream catalogs. Use nebox --install [-s] DIR to create a link for each applet.
Added in this build. clear, egrep, fgrep, fsync, lsmod, mcookie, pidof, pwdx, ttysize, usleep and uuidgen.
The optional Theseus Init build adds init for a total of 139. See what ships in Cascadia.
Start an interactive shell with nebox sh -i. It supports editable history, tab completion, pipelines and background jobs. nsh adds a colored prompt and XDG history and configuration files.
Search with grep, edit streams with sed and process records with awk. For larger jobs, sort can spill to disk, diff can compare directory trees, and tail can follow a rotating log.
Create or extract a tar archive, compress a stream with gzip, or write decompressed data to standard output with zcat. Use sha256sum to verify a file.
Standalone locale data covers C, UTF-8 character handling and German collation. Some commands work byte by byte. Account enumeration reads the local databases. The grep -P option requires a build linked with static PCRE2.
Applet compatibility notesNebox links against nelibc’s standalone archive. The conformance suite checks command output, exit status and changes to the filesystem. The coverage check tests which commands can be invoked.
git clone https://github.com/Spaceghost/nelibc
make -C nelibc lib-standalone-zig
git clone https://github.com/Spaceghost/nebox
make -C nebox NELIBC=../nelibc
make -C nebox NELIBC=../nelibc testMedian elapsed milliseconds across 15 measured rounds on an i5-10400. Each process read the same 1,965,199-byte file. The line-only path now counts newline bytes directly.
| Options | Previous Nebox (ms) | Updated Nebox (ms) | GNU wc 9.1 (ms) |
|---|---|---|---|
| -l | 4.663 | 1.612 | 0.965 |
| -lc | 4.659 | 1.598 | 0.948 |
| -w | 4.689 | 4.218 | 9.762 |