Four major components of Linux (Beginner's learning notes)-General Linux technology-Linux technology and application information. The following is a detailed description. [I = s] This post was last edited by pander at, January 2 ,.
Linux Shell
Shell is a system user interface that provides an interface for users to interact with the kernel. It receives user-input commands and sends them to the kernel for execution. In fact, Shell is a command interpreter that explains the commands entered by the user and sends them to the kernel. In addition, Shell has its own programming language for editing commands. It allows users to write programs composed of shell commands. The Shell programming language has many features of a common programming language, such as its loop structure and branch control structure. The Shell program written in this programming language has the same effect as other applications.
Linux provides a visual command input interface like Microsoft Windows-the graphical user interface (GUI) of X Window ). It provides a lot of Window managers, and its operations are like Windows. There are Windows, icons and menus, and all management is controlled by the mouse. Currently, KDE and GNOME are popular Window managers. Each Linux user can have his/her own user interface or Shell to meet their own dedicated Shell needs. Like Linux, Shell has many different versions.
Currently, the following versions of Shell are used:
Bourne Shell: Developed by Bell Labs.
BASH: it is the GNU Bourne Again Shell, which is the default shell on the GNU operating system. Most linux distributions use this shell.
Korn Shell: it is the development of the Bourne SHell and is compatible with the Bourne Shell in most aspects.
C Shell: the BSD version of SUN Shell.
Linux utilities
Standard Linux systems have a set of programs called utility tools. They are specialized programs, such as editors and standard computing operations. You can also generate your own tools. There are three types of utility:
Editor: used to edit files.
Filter: used to receive and filter data.
Interactive Program: allows users to send information or receive information from other users.
Linux editors include: Ed, Ex, Vi, and Emacs. Ed and Ex are row editors, and Vi and Emacs are full screen editors.
Linux filters read input from user files or other places, check and process data, and then output results. In this sense, they filter the data that passes through them. Linux has different types of filters. Some Filters use the line editing command to output an edited file. In addition, some filters are used to search for files by mode and output part of the data in this mode. Some other operations are performed to check the format of a file and Output A formatted file. The input of the filter can be a file, data typed by the user on the keyboard, or output of another filter. Filters can be connected to each other. Therefore, the output of one filter may be the input of another filter. In some cases, you can write your own filter program.
An interactive program is the information interface between the user and the machine. Linux is a multi-user system that must be in touch with all users. Information can be sent or received by different users on the system. There are two ways to send information: one is to communicate with other users through one-to-one links, and the other is to communicate with multiple users at the same time, that is, broadcast communication.
Linux File System
The file structure is the method of organizing files stored on disks and other storage devices. The quality of a file system is mainly reflected in the organization of files and directories. Directory provides a convenient and effective way to manage files. We can switch from one directory to another, and set the Directory and file permissions to set the degree of file sharing.
In Linux, you can set the Directory and file permissions to allow or deny access to other users. The Linux directory adopts a multi-level tree structure. You can browse the entire system, access any authorized directory, and access the files there.
The Association of file structures makes it easy to share data. Several users can access the same file. Linux is a multi-user system. The resident program of the operating system is stored in a dedicated directory starting from the root directory, and is sometimes specified as a system directory.
The kernel, Shell, and file structure form a basic operating system structure. They allow users to run programs, manage files, and use the system. In addition, the Linux operating system also has many programs called utilities to help users complete specific tasks.
Kernel
The kernel, Shell, and file system constitute the linux system;
Linux Kernel
The kernel is the heart of the system and the core program for running programs and managing hardware devices such as disks and printers. It receives commands from the user and sends them to the kernel for execution.
In the dossystem: the kernel command.com
In windows: NT Core
In linux: kernel