相关疑难解决方法(0)

如何在 Ubuntu 中更改 shell?

我有一个 Ubuntu Server VPS,我想/bin/bash/用作我的 shell。我怎样才能改变我的外壳?我有 root 访问权限,但我不以 root 身份工作。所以破折号现在是我的默认外壳。

我已阅读如何将 Bash 设为 Ubuntu 上的默认 shell?和chsh接缝是首选的方式。但是当我输入时,chsh /bin/bash我收到此消息: chsh: unknown user /bin/bash

如果我只是输入/bin/bashBash shell 接缝就可以正常工作。如何改变它?

bash shell command-line chsh ubuntu

100
推荐指数
3
解决办法
19万
查看次数

标签 统计

bash ×1

chsh ×1

command-line ×1

shell ×1

ubuntu ×1