笔记簿
ᴄᴏᴅɪɴɢ ɪ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 ```
«首页
18
19
20
21
22
末页»
近期文章
Spring @Transactional原理及使用
RabbitMQ
高CPU占用排查并生产故障
分布式锁思考
springboot安全问题之XSS
SpringMVC处理Https请求重定向后成了Http
springboot安全问题之CSRF
springmvc处理页面提交的多个同一类对象
HashMap
ConcurrentHashMap
文章分类
Java
Spring
MySQL
Redis
RabbitMQ
Mybatis
Linux
Docker
Nginx
Other
天气