Shell Scripting for Gas Technology Stack: Building on Linux Commands

Shell Scripting for Gas Technology Stack: Building on Linux Commands

Shell scripts are used to accomplish complex tasks through a series of Shell commands. Mastering common Shell commands is a prerequisite for writing Shell scripts. Essentially, Shell commands are mature programs provided by the system, and some commands are very powerful, such as <span>find</span>, <span>grep</span>, <span>awk</span>, <span>sed</span>, etc. This article summarizes some commonly used Shell … Read more

A Comprehensive Guide to Shell Scripting from Basics to Practical Applications

A Comprehensive Guide to Shell Scripting from Basics to Practical Applications

Source: Beginner’s Station 1. Introduction to Shell 1.1 What is Shell Introduction to Shell Scripting # Why introduce Shell Last time I published a detailed article on Linux commands, which received a lot of recognition from friends. Some fans privately messaged me, asking for a shell programming guide. After some preparation, I spent 2 weeks … Read more

Linux Guide (Part 10): Files, Everything is a File

Linux Guide (Part 10): Files, Everything is a File

What is a file? 01 In the Linux system, a file is an abstract representation of various resources (such as data, hardware devices, inter-process communication, etc.), following the principle of “everything is a file.” Whether it is ordinary data, directories, hardware devices, or inter-process communication interfaces, they all exist in the form of files and … Read more

Boost Your Efficiency! Automatically Display CPU/Memory/Disk Usage on Linux Login with a Single Script!

Boost Your Efficiency! Automatically Display CPU/Memory/Disk Usage on Linux Login with a Single Script!

Join our operations and maintenance community group: WeChat Group 2.0 | No idle chat, only practical discussions and growth, operations and maintenance professionals are welcome to join. Today, I am sharing a super cool script that automatically displays the system information you usually care about when you log into a Linux server, making it clear … Read more

Top 50 Common Linux Commands (Essential for Operations) Part 2

Top 50 Common Linux Commands (Essential for Operations) Part 2

This article compiles the top 50 questions frequently encountered in Linux system operation and maintenance interviews. Whether you are a beginner entering the IT industry or an experienced operations personnel aiming for promotion, these questions will provide you with comprehensive knowledge review and practical simulation, helping you stand out in interviews, successfully secure your desired … Read more

Linux Knowledge Presentation at Hebei University of Science and Technology

Linux Knowledge Presentation at Hebei University of Science and Technology

The event is in progress, and the speaker has embarked on a journey of knowledge, from the origin story of Linux to its development history, delving into system architecture analysis, interspersed with practical demonstrations. Everyone is closely watching the operation steps on the screen, quickly taking photos to record key content. When explaining command line … Read more

Linux expr Command

Linux expr Command

Linux expr Command <span>expr</span> is a powerful command-line tool in Linux systems used for evaluating expressions, performing arithmetic operations, string manipulation, and logical comparisons. It is widely used in shell scripts for dynamic processing and value calculations. Although modern shells (like Bash) provide built-in arithmetic and string manipulation capabilities, <span>expr</span> still holds significant value due … Read more

10 Tips for Writing Efficient Bash Scripts in Linux

10 Tips for Writing Efficient Bash Scripts in Linux

(Click the public account above to quickly follow) Author: Aaron Kili, Translation: Linux China/ch-cn linux.cn/article-8618-1.html If you have good articles to submit, please click → here for details Shell scripting is the simplest way to learn or practice programming in Linux. It is an essential skill for system administrators who need to handle automation tasks … Read more

The Amazing Uses of ‘!’ in Linux

The Amazing Uses of '!' in Linux

(Add a star for Linux enthusiasts to enhance Linux skills) Author: Shouwang (This article is contributed by the author, see the end for a brief introduction) Introduction In fact, the unassuming ‘!’ has many astonishing uses in Linux. This article will enumerate those magical uses of ‘!’ in detail. Execute the Previous Command For example, … Read more

Analysis of Wi-Fi Configuration Script in Embedded Linux

Analysis of Wi-Fi Configuration Script in Embedded Linux

Follow “Coder Loves Learning“, set “Star Public Account“ Practical Benefits Delivered First-Hand! The embedded Linux system generally supports Wi-Fi connectivity, which can be achieved through shell scripts or other programming languages. This article introduces the execution principle of a script that configures Wi-Fi using a shell script. 1 Introduction to Wi-Fi Connectivity via Shell Script … Read more