Update cheatsheets

This commit is contained in:
ivuorinen
2025-03-29 00:18:23 +00:00
parent a3692d638b
commit 75f807d6af
175 changed files with 1107 additions and 775 deletions

View File

@@ -6,12 +6,12 @@ source: https://github.com/tldr-pages/tldr.git
# unshare
> Execute a command in new user-defined namespaces.
> More information: <https://www.kernel.org/doc/html/latest/userspace-api/unshare.html>.
> More information: <https://manned.org/unshare>.
- Execute a command without sharing access to connected networks:
`unshare --net {{command}} {{command_arguments}}`
`unshare {{[-n|--net]}} {{command}} {{command_arguments}}`
- Execute a command as a child process without sharing mounts, processes, or networks:
`unshare --mount --pid --net --fork {{command}} {{command_arguments}}`
`unshare {{[-m|--mount]}} {{[-i|--pid]}} {{[-n|--net]}} {{[-f|--fork]}} {{command}} {{command_arguments}}`