Computer Science
CHROOT(1L) CHROOT(1L)
NAME
chroot - run command or interactive shell with special
root directory
SYNOPSIS
chroot [--help] [--version] directory [command...]
DESCRIPTION
This manual page documents the GNU version of chroot.
chroot runs a command with the root directory for file
name translation changed to the specified directory. If
no command is given, chroot runs an interactive shell.
The `SHELL' environment variable specifies the shell pro-
gram; the default is /bin/sh.
OPTIONS
--help Print a usage message on standard output and exit
successfully.
--version
Print version information on standard output then
exit successfully.
NOTES
On many systems only the super-user can change root direc-
tory.
FSF GNU Shell Utilities 1
Back to the index