(1)Linux 中提供的 Shell 解析器有

    1. [root@localhost ~]# cat /etc/shells
    2. /bin/sh
    3. /bin/bash
    4. /usr/bin/sh
    5. /usr/bin/bash
    6. /bin/tcsh
    7. /bin/csh

    (2)bash 和 sh 的关系

    1. [root@localhost ~]# cd /bin/
    2. [root@localhost bin]# ll | grep bash
    3. -rwxr-xr-x. 1 root root 964600 Aug 8 2019 bash
    4. lrwxrwxrwx. 1 root root 10 Nov 25 03:40 bashbug -> bashbug-64
    5. -rwxr-xr-x. 1 root root 6964 Aug 8 2019 bashbug-64
    6. lrwxrwxrwx. 1 root root 4 Nov 25 03:40 sh -> bash

    (3)Centos默认的解析器是bash

    1. [root@localhost bin]# echo $SHELL
    2. /bin/bash