unshare
Execute a command in new user-defined namespaces.
- Execute a command without sharing access to connected networks:
unshare --net {command} {command_arguments}
- Execute a command as a child process without sharing mounts, processes, or networks:
unshare --mount --pid --net --fork {command} {command_arguments}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).