From 0c7292d7bd5caa672cb41bac99f6310ecfb37a0c Mon Sep 17 00:00:00 2001 From: Tran Dinh Dong <76928878+vanvuvuong@users.noreply.github.com> Date: Tue, 23 Jul 2024 23:59:22 +0700 Subject: [PATCH] nsenter: update page (#13293) --- pages/linux/nsenter.md | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/pages/linux/nsenter.md b/pages/linux/nsenter.md index 242d9f533..7aa126e86 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: