查看当前发行版可以使用的shell
yeguangrong@yeguangrong-Inspiron-3847:~$ cat /etc/shells
输出如下
# /etc/shells: valid login shells
/bin/sh
/bin/dash
/bin/bash
/bin/rbash
查看当前使用的shell
yeguangrong@yeguangrong-Inspiron-3847:~$ echo $SHELL 输出 : /bin/bash
原文链接:https://www.f2er.com/ubuntu/352542.html