我已经安装了“dash”,但是当我通过 SSH 登录时仍然看到“bash”

Pen*_*m10 1 linux debian ssh bash arm

我已按照此处的说明将 Raspberry Pi 配置为对默认 shell 使用“破折号” 。

我有用于 SSH 的 Dropbear。

当我通过 SSH 登录时,我仍然看到“bash”控制台,而不是“dash”。

如何改变这一点而忘记 bash?

Gil*_*not 6

尝试以下命令行:

chsh -s $(type -p dash)
Run Code Online (Sandbox Code Playgroud)