Go to the first, previous, next, last section, table of contents.


chroot: Run a command with a different root directory

chroot runs a command with a specified root directory. On many systems, only the super-user can do this. Synopses:

chroot newroot [command [args]...]
chroot option

Ordinarily, filenames are looked up starting at the root of the directory structure, i.e., `/'. chroot changes the root to the directory newroot (which must exist) and then runs command with optional args. If command is not specified, the default is the value of the SHELL environment variable or /bin/sh if not set, invoked with the `-i' option.

The only options are `--help' and `--version'. See section Common options.


Go to the first, previous, next, last section, table of contents.