From 0d2c364b9dbab1428ba5d4f1a5cf348cacaf2f6c Mon Sep 17 00:00:00 2001 From: Benjamin G Date: Thu, 29 Oct 2020 06:14:20 -0500 Subject: [PATCH] schroot: add page (#4775) --- pages/linux/schroot.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pages/linux/schroot.md diff --git a/pages/linux/schroot.md b/pages/linux/schroot.md new file mode 100644 index 000000000..6f05c8499 --- /dev/null +++ b/pages/linux/schroot.md @@ -0,0 +1,24 @@ +# schroot + +> Run command or start an interactive shell with a different root directory. More customizable than `chroot`. +> More information: . + +- Run a command in a specific chroot: + +`schroot --chroot {{chroot}} {{command}}` + +- Run a command with options in a specific chroot: + +`schroot --chroot {{chroot}} {{command}} -- {{command_options}}` + +- Run a command in all available chroots: + +`schroot --all {{command}}` + +- Start an interactive shell with in a specific chroot as a specific user: + +`schroot --chroot {{chroot}} --user {{user}}` + +- List available chroots: + +`schroot --list`