System Grab Bag

View all TLDR pages from common (or from all pages)

chroot

Run command or interactive shell with special root directory. More information: https://www.gnu.org/software/coreutils/chroot.
  • 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}}

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.