chroot
Run command or interactive shell with special root directory.
- Run command as new root directory:
chroot {path/to/new/root} {command}
- Specify user and group (ID or name) to use:
chroot --userspec={user:group}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).