Manual: chroot
CHROOT(1) General Commands Manual CHROOT(1)
NAME
chroot - Run COMMAND with root directory set to NEWROOT.
SYNOPSIS
chroot [--groups] [--userspec] [--skip-chdir] [-h|--help] [-V|--version] [command]
DESCRIPTION
Run COMMAND with root directory set to NEWROOT.
OPTIONS
--groups
Comma-separated list of groups to switch to
--userspec
Colon-separated user and group to switch to.
--skip-chdir
Use this option to not change the working directory to / after changing the root directory to newroot, i.e.,
inside the chroot.
-h, --help
Print help
-V, --version
Print version
VERSION
v(uutils coreutils) 0.8.0
2026-04-16 CHROOT(1)