mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-04 20:35:25 +02:00
12 lines
401 B
Markdown
12 lines
401 B
Markdown
# 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}}`
|