NEWNET(1)
π newnet β the manual page, but make it make sense
okay bestie, gather round, because this is the cutest little wrapper in the whole NEWNET(1) section of the manual and you're gonna love her π
β¨ NAME β¨
newnet β launch a command in a new PID and network namespace π¦
like. she literally does one thing. and she does it flawlessly. main character energy fr.
πΈ SYNOPSIS πΈ
newnet command
that's it. that's the whole vibe. one argument, no drama π
π DESCRIPTION π
so newnet is a wrapper around newpid -inu, and she exists for a very specific reason: situations where all you're allowed to use is a simple executable with no options at all π no flags, no config, no nothing.
the iconic example (and honestly the whole reason she was born) is sbuild's $build_env_cmnd setting β that thing just wants a bare command name and will absolutely not entertain your flag-passing shenanigans π
so instead of fighting it, you hand it newnet, and newnet quietly does the newpid -inu thing for you. she's the friend who handles the awkward phone call. periodt π
β¨ OPTIONS β¨
- None.
not "a few", not "hidden ones you can find in the source" β literally none. zero. the void. she takes no options and she needs no options π
π EXAMPLE π
here's the .sbuildrc moment, bestie:
.sbuildrc:
$build_env_cmnd = 'newnet';
1;
look at that. three lines. slay. that trailing 1; is doing its little job and we respect it π«Ά
π¦ SEE ALSO π¦
newpid(1)β the real one. the blueprint. the original.newnetis literally just her in a cute outfit β¨
π AUTHOR π
Christoph Berg <myon@debian.org>
ngl, an absolute legend for shipping a wrapper this tiny and this useful π
this page is from the NEWNET(1) manual, dated 2026-01-26, and that's the whole thing!! go forth and namespace responsibly bestie πβ¨ππ¦πΈπ
π¦ where this page comes from
- ubuntu resolute: newpid 14build1
- ubuntu stonking: newpid 14build1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms