chroot(1) General Commands Manual chroot(1)

chroot - Run COMMAND with root directory set to NEWROOT.

chroot [-u|--user] [-g|--group] [-G|--groups] [--userspec] [--skip-chdir] [-h|--help] [-V|--version] <newroot> [command]

Run COMMAND with root directory set to NEWROOT.

User (ID or name) to switch before running the program
Group (ID or name) to switch to
Comma-separated list of groups to switch to
Colon-separated user and group to switch to. Same as -u USER -g GROUP. Userspec has higher preference than -u and/or -g
Use this option to not change the working directory to / after changing the root directory to newroot, i.e., inside the chroot.
Print help
Print version

v0.0.26

chroot 0.0.26