笔记簿
ᴄᴏᴅɪɴɢ ɪs ᴀʀᴛ
首页
关于
搜索
登录
注册
近期文章
Shell 概述和解释器 - shell概述和解释器
#### Shell概述 Shell是一个命令行解释器,它接收应用程序/用户命令,然后调用操作系统内核。  #### Shell解析器 1. Linux提供的Shell解析器有 ```shell [root@izwz9bikga4wl4jw4cxetuz ~]# cat /etc/shells /bin/sh /bin/bash /sbin/nologin /usr/bin/sh /usr/bin/bash /usr/sbin/nologin ``` 2. bash和sh的关系 ```shell [root@izwz9bikga4wl4jw4cxetuz ~]# ls -l /bin/ |grep bash -rwxr-xr-x 1 root root 960608 Sep 7 2017 bash lrwxrwxrwx 1 root root 10 Oct 31 2017 bashbug -> bashbug-64 -rwxr-xr-x 1 root root 0 Oct 6 16:51 bashbug-64 lrwxrwxrwx 1 root root 4 Oct 31 2017 sh -> bash ``` 3. Centos默认的解析器是bash ```shell [root@izwz9bikga4wl4jw4cxetuz ~]# echo $SHELL /bin/bash ```
«首页
12
13
14
15
16
末页»
近期文章
Spring @Transactional原理及使用
技术评审,你拿什么来吐槽?
springboot安全问题之CSRF
html页面通过js生成pdf文档
Docker简介与安装
Redis 分布式锁
RabbitMQ入门
高CPU占用排查并生产故障
Shell 读取控制台输入
Shell 工具cut
文章分类
Java
RabbitMQ
Redis
Spring
SpringMVC
SpringBoot
Mysql
Go
Mybatis
Apollo
Consul
Linux
Docker
Nginx
Other
天气