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

13 lines
489 B
Markdown
Raw Normal View History

# unshare
> 사용자 정의 네임스페이스에서 명령을 실행합니다.
> 더 많은 정보: <https://www.kernel.org/doc/html/latest/userspace-api/unshare.html>.
- 연결된 네트워크에 대한 액세스를 공유하지 않고 명령 실행:
`unshare --net {{명령어}} {{명령어_인자들}}`
- 마운트, 프로세스, 네트워크를 공유하지 않고 자식 프로세스로 명령 실행:
`unshare --mount --pid --net --fork {{명령어}} {{명령어_인자들}}`