2.11BSD/man/cat8/chroot.0

Compare this file to the similar file:
Show the results in this format:




CHROOT(8)	    UNIX Programmer's Manual		CHROOT(8)



NAME
     chroot - change root directory

SYNOPSIS
     chroot newroot [ command ]

DESCRIPTION
     The _c_h_r_o_o_t command changes its root directory to the sup-
     plied directory _n_e_w_r_o_o_t and exec's _c_o_m_m_a_n_d, if supplied, or
     an interactive copy of your shell (as specified by the
     environmental variable _S_H_E_L_L) if not.  /_b_i_n/_s_h is used if
     _S_H_E_L_L is not specified.

     Note, _c_o_m_m_a_n_d or the shell are run as your real-user-id.

SEE ALSO
     chdir(2), chroot(2), environ(7)






































Printed 11/26/99	December 5, 1988			1