Home
        <a name=

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.

SYNTAX
     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'

A mission statement is defined as "a long awkward sentence that demonstrates management's inability to think clearly." All good companies have one. - Scott Adams, The Dilbert Principle, 1996"

Related commands:

builtin
- Run a shell builtin
cron - Daemon to execute scheduled commands
exec - Execute a command
if - Conditionally perform a command
nohup - Run a command immune to hangups
.source - Run commands from a file
su - Run a command with substitute user and group id
watch - Execute/display a program periodically