1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-01 12:15:22 +02:00

chroot: add Simplified Chinese translation

This commit is contained in:
songmingliang 2025-06-03 14:21:34 +08:00
parent c27345cb7a
commit 6bcb753a5b

12
pages.zh/common/chroot.md Normal file
View file

@ -0,0 +1,12 @@
# chroot
> 使用指定的根目录运行命令或交互式 shell。
> 更多信息:<https://www.gnu.org/software/coreutils/manual/html_node/chroot-invocation.html>.
- 以新的根目录,运行命令:
`sudo chroot {{路径/到/新/根目录}} {{命令}}`
- 使用指定的用户和组:
`sudo chroot --userspec {{用户名或用户id:组名或组id}}`