(1)Linux 中提供的 Shell 解析器有
[root@localhost ~]# cat /etc/shells
/bin/sh
/bin/bash
/usr/bin/sh
/usr/bin/bash
/bin/tcsh
/bin/csh
(2)bash 和 sh 的关系
[root@localhost ~]# cd /bin/
[root@localhost bin]# ll | grep bash
-rwxr-xr-x. 1 root root 964600 Aug 8 2019 bash
lrwxrwxrwx. 1 root root 10 Nov 25 03:40 bashbug -> bashbug-64
-rwxr-xr-x. 1 root root 6964 Aug 8 2019 bashbug-64
lrwxrwxrwx. 1 root root 4 Nov 25 03:40 sh -> bash
(3)Centos默认的解析器是bash
[root@localhost bin]# echo $SHELL
/bin/bash