macOS / binaries /

chroot

/usr/sbin/chroot
Change root directory

The chroot utility changes its current and root directories to the supplied directory newroot and then exec's command with provided arguments, if supplied, or an interactive copy of the user's login shell.

source: man