2025-03-14 21:59:59 -06:00
|
|
|
# unshare
|
|
|
|
|
|
|
|
|
|
> Execute a command in new user-defined namespaces.
|
2025-04-03 20:36:56 -06:00
|
|
|
> More information: <https://manned.org/unshare>.
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Execute a command without sharing access to connected networks:
|
|
|
|
|
|
2025-04-03 20:36:56 -06:00
|
|
|
`unshare {{[-n|--net]}} {{command}} {{command_arguments}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Execute a command as a child process without sharing mounts, processes, or networks:
|
|
|
|
|
|
2025-04-03 20:36:56 -06:00
|
|
|
`unshare {{[-m|--mount]}} {{[-i|--pid]}} {{[-n|--net]}} {{[-f|--fork]}} {{command}} {{command_arguments}}`
|