第2章 Shell解释器
第2章 Shell解释器
(1)Linux提供的Shell解释器有:
[ ~]# cat /etc/shells
/bin/sh
/bin/bash
/usr/bin/sh
/usr/bin/bash
/bin/tcsh
/bin/csh
(2)bash和sh的关系
[ ~]# ll /bin/sh
lrwxrwxrwx. 1 root root 4 5月 15 19:42 /bin/sh -> bash
(3)CentOS默认的解释器是bash
[ ~]# echo $SHELL
/bin/bash
相关推荐
touchfuture 2020-09-16
liguojia 2020-10-20
xiaonamylove 2020-10-16
woaimeinuo 2020-10-21
laisean 2020-11-11
zhangjie 2020-11-11
大牛牛 2020-10-30
firefaith 2020-10-30
wangzhaotongalex 2020-10-20
CARBON 2020-10-20
JohnYork 2020-10-16