Forrest logo
back to context overview

arch-chroot

List of commands for arch-chroot:

  • arch-chroot:tldr:4e854 arch-chroot: Specify the shell, other than the default `bash` (in this case, the `zsh` package should have been installed in the target system).
    $ arch-chroot ${path-to-new-root} ${zsh}
    try on your machine
    explain this command
  • arch-chroot:tldr:54980 arch-chroot: Specify the user (other than the current user) to run the shell as.
    $ arch-chroot -u ${user} ${path-to-new-root}
    try on your machine
    explain this command
  • arch-chroot:tldr:667b7 arch-chroot: Start an interactive shell (`bash`, by default) in a new root directory.
    $ arch-chroot ${path-to-new-root}
    try on your machine
    explain this command
  • arch-chroot:tldr:89f9f arch-chroot: Run a custom command (instead of the default `bash`) in the new root directory.
    $ arch-chroot ${path-to-new-root} ${command} ${command_arguments}
    try on your machine
    explain this command
back to context overview