Skip to main content
Topic: Go into chroot, keep Bash behavior settings intact (Read 340 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Go into chroot, keep Bash behavior settings intact

How to get into chroot while keep Bash behavior settings, and important tools else, fully intact at once

Re: Go into chroot, keep Bash behavior settings intact

Reply #1
If Bash is installed in the system you are chrooting into you can simply type # bash after entering the chroot shell and it will open a bash shell, the same applies for zsh, fish and so on. The bash-completion package can be useful, if not installed the behaviour can be a bit different.
You can also go directly to your preferred shell using artix-chroot, found in the artools-base package:
Code: [Select]
$ artix-chroot --help
usage: artix-chroot chroot-dir [command]
    -h             Print this help message

    If 'command' is unspecified, artix-chroot will launch /bin/sh.

 

Re: Go into chroot, keep Bash behavior settings intact

Reply #2
nothing