diff --git a/pages/linux/nsenter.md b/pages/linux/nsenter.md index 79c45824f..309b0d502 100644 --- a/pages/linux/nsenter.md +++ b/pages/linux/nsenter.md @@ -19,3 +19,11 @@ - Run a specific command in an existing process's IPC namespace: `nsenter --target {{pid}} --ipc {{command}} {{command_arguments}}` + +- Run a specific command in an existing process's UTS, time, and IPC namespaces: + +`nsenter --target {{pid}} --uts --time --ipc -- {{command}} {{command_arguments}}` + +- Run a specific command in an existing process's namespace by referencing procfs: + +`nsenter --pid=/proc/{{pid}}/pid/net -- {{command}} {{command_arguments}}`