Linux Operating System Configuration and Management – Lesson 2: Graphical and Character Interfaces of RHEL 8.1

Linux Operating System Configuration and Management - Lesson 2: Graphical and Character Interfaces of RHEL 8.1

This content is derived from the book edited by Teacher Xia Liqin, titled “Linux Network Operating System Configuration and Management”, intended for the teaching of first-year vocational college students. Let’s work hard together for those who want to learn seriously! 1. Introduction The Linux operating system provides two operating environments: graphical and character interfaces. The … Read more

Daily Linux Knowledge: What is a Shell Script

Daily Linux Knowledge: What is a Shell Script

A Shell is a command interpreter responsible for receiving user input commands and passing them to the operating system kernel for execution. Common shells include Bash (Bourne Again Shell), Zsh, and Ksh, with Bash being the default shell for most Linux distributions. A Shell script is a series of shell commands written in text form, … Read more

Technical Overview of Linux: Shell Mathematics and Logical Operations

In the shell environment, the following methods are supported for mathematical or logical operations. Using the expr command to perform mathematical or logical operations directly, such as<span><span>expr 2 + 2</span></span>. Using the bc command, data is piped into the bc command for calculations, for example<span><span>echo "scale=4; 3.44/5" | bc</span></span>. Using the<span><span>$ and $[operation]</span></span> format brackets … Read more

Core Components of the Linux System

The Linux system consists of the following core components: Linux Kernel DefinitionThe kernel is the core of the operating system, responsible for managing hardware resources (such as CPU, memory, disk, network, etc.) and providing basic services to applications. Functions Process Management: Creating, scheduling, and terminating processes. Memory Management: Allocating and reclaiming memory. File System Management: … Read more

Technical Overview of Shell Syntax Variables on Linux Platform #01

For shell, there are both environment variables and local variables, which are explained as follows. Environment Variables: These are variables created during system startup, primarily those created by rootfs to serve the system, and can also include variables imported by users through commands like export. Environment variables can be used in all shell interactive environments … Read more

Comprehensive Guide to File Matching in Linux: From Wildcards to Regular Expressions

When operating files in Linux, the most common actions are viewing, copying, moving, and deleting. Behind these commands, a low-key yet ubiquitous helper is the wildcard. However, sometimes the filenames to match are too numerous or complex, and wildcards fall short. At this point, regular expressions come into play. In this article, we will clarify … Read more