---
name: "newnet"
section: "1"
platform: "linux"
package: "newpid"
version: "14"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/newnet"
---

# newnet(1)

launch a command in a new PID and network namespace

## NAME

newnet - launch a command in a new PID and network namespace

## SYNOPSIS

**newnet** *command*

## DESCRIPTION

**newnet** is a wrapper around **newpid -inu** for use in situations where only a simple executable without options can be used, e.g. in **sbuild**'s **$build\_env\_cmnd** setting.

## OPTIONS

None.

## EXAMPLE

```
 .sbuildrc:
 $build_env_cmnd = 'newnet';
 1;
```

## SEE ALSO

[**newpid**(1)](/newpid/1.md).

## AUTHOR

Christoph Berg \<myon@debian.org\>
