1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-09-10 14:14:17 +02:00

chroot: add Simplified Chinese translation (#16736)

This commit is contained in:
DustMerlin 2025-06-11 14:35:24 +08:00 committed by GitHub
parent ea032f0a48
commit 49c31f24f9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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}}`