Run a command with a different root directory
&qt;&qt;chroot&qt;&qt; runs a command with a specified root directory. On many systems, only the super-user can do this.

SYNTAX
chroot NEWROOT [COMMAND [ARGS]…]

chroot OPTIONOrdinarily, filenames are looked up starting at the root of the directory structure, i.e. &qt;&qt;/&qt;&qt;

&qt;&qt;chroot&qt;&qt; 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 &qt;SHELL&qt;&qt; environment variable or &qt;/bin/sh&qt;&qt; if not set, invoked with the &qt;-i&qt;&qt; option.

The only options are &qt;–help&qt;&qt; and &qt;–version&qt;&qt;