ladybird/Base/usr/share/man/man8/chroot.md
Andreas Kling 3f9e4cd24e chroot: Add a little chroot program
This program changes the current filesystem root and spawns a shell.
2020-01-10 23:23:20 +01:00

432 B

Name

chroot - run a shell with a different filesystem root

Synopsis

# chroot

Description

This program uses the chroot(2) syscall to switch into a different filesystem root and spawn a shell inside it.

It will not work unless there is a /bin/Shell available inside the new root.

Examples

# chroot /var/chroot
# pwd
/

See also