Closed vembalarashid closed 3 years ago
typing echo $SHELL. This will return either /usr/bin/bash or /usr/bin/zsh
But mine shows /bin/ash
Why ?
That is because you are using the Almquist shell (AKA ash).
The following solution has been originally posted here
Normally you can change this via the chsh command, but from what I gathered iOS doesn't have this command. So you need to edit /etc/passwd and /etc/master.passwd (as root) and change the shell to /bin/bash. So it should look something like this:
root:*:0:0:System Administrator:root:/var/root:/bin/bash
mobile:*:501:501:Mobile User:/var/mobile:/bin/bash
Ash is alpine's shell, make sure that you are sshed into your device. You can refer to chapter 1 if you've forgotten how to do that.
Closed due to a lack of response. You can reopen this issue
typing echo $SHELL. This will return either /usr/bin/bash or /usr/bin/zsh
But mine shows /bin/ash
Why ?