1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-04 12:15:23 +02:00
tldr/pages.nl/common/chroot.md
2025-05-02 22:44:08 +02:00

401 B

chroot

Voer een commando of interactieve shell uit met een speciale hoofdmap. Meer informatie: https://www.gnu.org/software/coreutils/manual/html_node/chroot-invocation.html.

  • Voer het commando uit als nieuwe hoofdmap:

sudo chroot {{pad/naar/nieuwe/hoofdmap}} {{commando}}

  • Gebruik een specifieke gebruiker en groep:

sudo chroot --userspec {{gebruikersnaam_of_id:groep_naam_of_id}}