chroot.1 (456B)
1 .TH CHROOT 1 sbase\-VERSION 2 .SH NAME 3 chroot \- invoke a command with a different root directory 4 .SH SYNOPSIS 5 .B chroot 6 .IR dir 7 .RI [ command 8 .RI [ arg ...]] 9 10 .SH DESCRIPTION 11 .B chroot 12 runs 13 .IR command 14 after changing the root directory to 15 .IR dir 16 with the 17 .B chroot 18 system call, and changing the working directory to the new root. 19 20 If 21 .IR command 22 is not specified, an interactive shell is started in the new root. 23 24 .SH SEE ALSO 25 .IR chroot (2) 26 .IR chdir (2)