好的开始是成功的一半。学习 Linux 的第一个问题是搞明白 Linux 是什么,了解其来龙去脉、前世今生,知道其发展趋势、应用前景,弄清楚为什么学习它,以及如何掌握它和使用它,知其然更要知其所以然。
本章致力于让读者对 Linux 有一个宏观的认识,总览其整体,后续章节再依次讲解 Linux 的每一部分的知识点。
工欲善其事,必先利其器。建议学习 Linux 的朋友不要忽视本章。很多人看技术类图书都不喜欢或不重视第一章,甚至直接跳过去,觉得大多是介绍性的内容,陈词滥调、形式化,且没什么技术含量。
建议读者认真阅读本书第一章内容,一方面,更多地了解 Linux 相关知识对后续阅读本教程助益良多,避免后续学习时盲人摸象;另一方面,本书第一章与其他书籍有所不同,它结合了笔者的学习和工作经历,给出了很多指导,可供读者参考。
Linux 是众多操作系统之一,要想知道 Linux 是什么,首先得说一说什么是操作系统。
计算机是一种接收信息、存储数据、根据用户要求处理数据,然后输出处理结果(文本、图片、音频、视频等)的机器。计算机由硬件和软件组成:
[En]
A computer is a machine that receives information, stores data, processes data according to the user’s requirements, and then outputs the processing results (text, pictures, audio, video, etc.). A computer consists of hardware and software:
- 硬件是计算机赖以工作的实体,包括显示器、键盘、鼠标、硬盘、CPU、主板等;
- 软件会按照用户的要求协调整台计算机的工作,比如 Windows、Linux、Mac OS、Android 等操作系统,以及 Office、QQ、迅雷、微信等应用程序。
操作系统(Operating System,OS)是软件的一部分,它是硬件基础上的第一层软件,是硬件和其它软件沟通的桥梁(或者说接口、中间人、中介等)。
操作系统控制其他程序的运行,管理系统资源,并提供最基本的计算功能,如管理和配置内存、确定系统资源的供需优先级等,以及一些基本服务,如:
[En]
The operating system controls the operation of other programs, manages system resources, and provides the most basic computing functions, such as managing and configuring memory, determining the priority of supply and demand of system resources, etc., as well as some basic services, such as:
提供计算机存储信息的结构,这些信息存储在文件中,这些文件主要存储在计算机的内部硬盘中,并以目录的层次结构进行组织。文件系统为操作系统组织和管理数据提供了一种方法。
[En]
Provides the structure of computer storage information, which is stored in files, which are mainly stored in the computer’s internal hard disk and organized in the hierarchical structure of the directory. The file system provides a way for the operating system to organize and manage data.
为连接到计算机的每个硬件设备提供接口,并且设备驱动程序使程序能够写入设备,而无需知道每个硬件执行的细节。简单地说,它允许你在不养鸡的情况下吃鸡蛋。
[En]
Provides an interface to each hardware device connected to the computer, and the device driver enables the program to be written to the device without knowing the details of each hardware execution. To put it simply, it allows you to eat eggs without having to raise a chicken.
操作系统需要为用户提供一种运行程序和访问文件系统的方法。如常用的 Windows 图形界面,可以理解为一种用户与操作系统交互的方式;智能手机的 Android 或 iOS 系统,也是一种操作系统的交互方式。
当计算机启动时,它会启动许多系统服务程序来安装文件系统、启动网络服务、运行计划任务等。
[En]
When the computer starts, it starts many system service programs to install the file system, start network services, run scheduled tasks, and so on.
例如,操作系统就像一个政府,其他软件会受到它的控制;操作系统在为其他软件提供各种便利的同时,也限制了其他软件不能为所欲为。
[En]
For example, the operating system is like a government, other software will be controlled by it; while the operating system provides all kinds of convenience to other software, it also restricts other software not to do whatever it wants.
目前流行的服务器和 PC 端操作系统有 Linux、Windows、UNIX 等,手机操作系统有 Android、iOS、Windows Phone(简称 WP),嵌入式操作系统有 Windows CE、PalmOS、eCos、uClinux 等。
这套《Linux入门教程》主要讲解 Linux 这种操作系统的应用,并不想过多涉及操作系统的类型和功能等理论性的知识,本节的目的是让读者明白,操作系统也是软件的一种,只不过它是位于硬件和应用程序之间的底层的软件,它除了会为应用程序保驾护航,还会”杀死”不听话的应用程序,具有双面性。
以上对操作系统的认知虽然只是”皮毛”,但它足以让我们学习 Linux 了。
Original: https://www.cnblogs.com/qinlulu/p/15832263.html
Author: 开源Linux
Title: 1.1 操作系统是什么,操作系统概述
原创文章受到原创版权保护。转载请注明出处:https://www.johngo689.com/524150/
转载文章受原作者版权保护。转载请注明原作者出处!