查看当前发行版可以使用的shell
yeguangrong@yeguangrong-Inspiron-3847:~$ cat /etc/shells
输出如下
/bin/sh
/bin/dash
/bin/bash
/bin/rbash
查看当前使用的shell yeguangrong@yeguangrong-Inspiron-3847:~$ ls -l /bin/sh lrwxrwxrwx 1 root root 4 5月 8 09:53 /bin/sh -> dash