1.解析器
1.1 Linux提供的Shell解析器
[用户@hadoop101 ~]$ cat /etc/shells
/bin/sh /bin/bash /sbin/nologin /bin/dash /bin/tcsh /bin/csh
1.2 bash和sh的关系
[用户@hadoop101 bin]$ ll | grep bash
-rwxr-xr-x. 1 root root 941880 5月 11 2016 bash lrwxrwxrwx. 1 root root 4 5月 27 2017 sh -> bash
软连接的关系,sh指向bash
1.3 Centos默认的解析器
[用户@hadoop102 bin]$ echo $SHELL
/bin/bash
是bash