当前位置:网站首页>shell命令及运行原理
shell命令及运行原理
2022-07-23 19:51:00 【Joker2373】
uu们在使用计算机时,是否有思考过我们操作计算机是怎么实现的?我们是直接操作的操作系统吗?
像Linux、Windows,严格意义上来讲都是操作系统,也就是我们常说的‘核心’。听名字就知道我们是不能直接对其进行操作的,因为让我们直接操作操作系统的成本很高,以及人是会犯错的。那我们要怎样才能使用操作系统呢?
接下来我将引入shell命令,来回答以上的问题
什么是shell?
简单粗暴地来说,我们使用图形化界面或者命令行就是外壳程序,也就是shell。
shell的功能?
shell的官方翻译为命令行解释器,它的功能:
- 将使用者的命令翻译给核心处理。
- 同时,将核心的处理结果翻译给使用者。
那么上面问题的答案就出来了——我们是通过shell外壳程序来与操作系统进行交互,一般Windows的外壳程序就是图形化界面,Linux的外壳程序是命令行~
我们并不是直接对操作系统进行操作的,想要让计算机运行起来,遵循下图的操作~
硬件和硬件驱动就是,如果我们在电脑开机时,立马去操作连接好的鼠标或者键盘时可能时没有反应的,也就是说驱动程序还没准备好~
说回正题:shell命令就是帮助我们与操作系统高效进行交互的中间媒介,并且在一定程度上可以保护操作系统(毕竟正版操作系统是需要花钱的)~
最形象的例子就是,shell命令的功能类似于两个人相亲的时候媒婆的功能~
以上就是全部的内容了~
边栏推荐
- Complex data processing of multi subsystem and multi business modules -- project development practice based on instruction set Internet of things operating system
- MongoDB-查询语句中$exists以及结合$ne、$nin、$nor、$not使用介绍
- AtCoder——Subtree K-th Max
- BM14 链表的奇偶重排
- The numerical sequence caused by the PostgreSQL sequence cache parameter is discontinuous with interval gap
- 链表——203. 移除链表元素
- 【C语言】通讯录(静态版本)
- 梅科尔工作室-小熊派开发笔记3
- 数组——209.长度最小的子数组
- [unity project practice] level unlocking
猜你喜欢

Baidu map data visualization

How to add to-do items for win11 widgets? Win11 method of adding to-do widget
![Relevant interfaces of [asp.net core] option mode](/img/2e/847e7541cfc49fd69794089dce2df2.jpg)
Relevant interfaces of [asp.net core] option mode

AtCoder B - Pizza

Applet avatar group style

138-查询案例-涉及知识点:forEach遍历&computed计算属性&v-for循环

Complex data processing of multi subsystem and multi business modules -- project development practice based on instruction set Internet of things operating system

Discussion on the usage of scanf () and getchar ()

17. Life cycle

Osgearth2.8 compiling silvering cloud effect
随机推荐
Leetcode 219. 存在重复元素 II(可以,已解决)
New product listing | A-share floor derivatives market point
不用MQTT C库就能实现MQTT连接、订阅和发布
Uncover the working principle of solid state disk
Model loading of assimp Library under QT
关于网段CIDR的笔记
JDK安装包和Mysql安装包整理
Introduction to web security SSH testing and defense
next数值型数据类型()出现输入错误后,下次依然能正常输入
17.生命周期
Configure MySQL master-slave replication with mysqldump or mydumper
Mecol Studio - Little Bear Development Notes 3
数组——27. 移除元素
The full text of Li Hongzhang's deathbed poem
Relevant interfaces of [asp.net core] option mode
ODrive应用 #6 编码器
solidworkd学习笔记:草图几何关系及编辑
Atelier macoll - notes de développement de la secte de l'ours 2
phar反序列化
17. Life cycle