diff --git a/pages/linux/nsenter.md b/pages/linux/nsenter.md index 242d9f533a..7aa126e86f 100644 --- a/pages/linux/nsenter.md +++ b/pages/linux/nsenter.md @@ -8,17 +8,9 @@ `nsenter --target {{pid}} --all {{command}} {{command_arguments}}` -- Run a specific command in an existing process's network namespace: +- Run a specific command in an existing process's mount|UTS|IPC|network|PID|user|cgroup|time namespace: -`nsenter --target {{pid}} --net {{command}} {{command_arguments}}` - -- Run a specific command in an existing process's PID namespace: - -`nsenter --target {{pid}} --pid {{command}} {{command_arguments}}` - -- Run a specific command in an existing process's IPC namespace: - -`nsenter --target {{pid}} --ipc {{command}} {{command_arguments}}` +`nsenter --target {{pid}} --{{mount|uts|ipc|net|pid|user|cgroup}} {{command}} {{command_arguments}}` - Run a specific command in an existing process's UTS, time, and IPC namespaces: