add new chinese translations

This commit is contained in:
2024-12-30 15:25:56 +08:00
parent a850046d7b
commit 0d798759fd
5418 changed files with 105800 additions and 7052 deletions

36
pages.zh/linux/schroot.md Normal file
View File

@@ -0,0 +1,36 @@
# schroot
> 在不同的根目录下运行命令或启动交互式shell。比`chroot`更具可定制性。
> 更多信息:<https://wiki.debian.org/Schroot>。
- 列出可用的chroot
`schroot --list`
- 在特定的chroot中运行命令
`schroot --chroot {{chroot}} {{command}}`
- 在特定的chroot中运行带选项的命令
`schroot --chroot {{chroot}} {{command}} -- {{command_options}}`
- 在所有可用的chroot中运行命令
`schroot --all {{command}}`
- 以特定用户在特定的chroot中启动交互式shell
`schroot --chroot {{chroot}} --user {{user}}`
- 开始一个新会话(在`stdout`上返回一个唯一的会话ID
`schroot --begin-session --chroot {{chroot}}`
- 连接到现有会话:
`schroot --run-session --chroot {{session_id}}`
- 结束现有会话:
`schroot --end-session --chroot {{session_id}}`