From 6bcb753a5b3d0e200e63393cc81ef52818a62d7c Mon Sep 17 00:00:00 2001 From: songmingliang Date: Tue, 3 Jun 2025 14:21:34 +0800 Subject: [PATCH] chroot: add Simplified Chinese translation --- pages.zh/common/chroot.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 pages.zh/common/chroot.md diff --git a/pages.zh/common/chroot.md b/pages.zh/common/chroot.md new file mode 100644 index 0000000000..a6282f310a --- /dev/null +++ b/pages.zh/common/chroot.md @@ -0,0 +1,12 @@ +# chroot + +> 使用指定的根目录运行命令或交互式 shell。 +> 更多信息:. + +- 以新的根目录,运行命令: + +`sudo chroot {{路径/到/新/根目录}} {{命令}}` + +- 使用指定的用户和组: + +`sudo chroot --userspec {{用户名或用户id:组名或组id}}`