1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-04 17:35:30 +02:00
tldr/pages.nl/common/chroot.md

13 lines
401 B
Markdown
Raw Normal View History

# 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}}`