1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00

nsenter: update page (#13293)

This commit is contained in:
Tran Dinh Dong 2024-07-23 23:59:22 +07:00 committed by GitHub
parent 5aa7f35d98
commit 0c7292d7bd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -8,17 +8,9 @@
`nsenter --target {{pid}} --all {{command}} {{command_arguments}}` `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}}` `nsenter --target {{pid}} --{{mount|uts|ipc|net|pid|user|cgroup}} {{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}}`
- Run a specific command in an existing process's UTS, time, and IPC namespaces: - Run a specific command in an existing process's UTS, time, and IPC namespaces: