logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

chroot - Run COMMAND with root directory set to NEWROOT.

Description

       Run COMMAND with root directory set to NEWROOT.

Name

       chroot - Run COMMAND with root directory set to NEWROOT.

Options

--groups=GROUP1,GROUP2...
              Comma-separated list of groups to switch to

       --userspec=USER:GROUP
              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

Synopsis

chroot [--groups] [--userspec] [--skip-chdir] [-h|--help] [-V|--version] <newroot> [command]

Version

       v0.0.30

                                                  chroot 0.0.30                                        chroot(1)

See Also