快速学习-Shell解析器

第2章 Shell解析器

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

[atguigu@hadoop101 ~]$ cat /etc/shells 
/bin/sh
/bin/bash
/sbin/nologin
/bin/dash
/bin/tcsh
/bin/csh

(2)bash和sh的关系

[atguigu@hadoop101 bin]$ ll | grep bash
-rwxr-xr-x. 1 root root 941880 511 2016 bash
lrwxrwxrwx. 1 root root      4 527 2017 sh -> bash

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

[atguigu@hadoop102 bin]$ echo $SHELL
/bin/bash
发布了1706 篇原创文章 · 获赞 1763 · 访问量 16万+

猜你喜欢

转载自blog.csdn.net/weixin_42528266/article/details/105052562
今日推荐