Quick Start – Summary of Common Linux Commands

Quick Start - Summary of Common Linux Commands

Linux Server System Information # Display basic system information uname -a # View kernel version uname -r # Display information about the distribution – detailed information about the operating system lsb_release -a # Linux version cat /etc/issue cat /etc/os-release more /etc/redhat-release hostnamectl cat /proc/version # CPU information cat /proc/cpuinfo more /proc/cpuinfo | grep "model name" … Read more

Essential Linux Memory Monitoring Commands Explained

Essential Linux Memory Monitoring Commands Explained

Click the blue “Most Programmer” to follow me! Add a “star“, every day at 18:03 to learn technology together The commands include: 1. The free command, which displays the system memory status, including physical memory, swap memory, shared memory, and system cache usage; 2. The cat /proc/meminfo command, which reads the contents of the /proc/meminfo … Read more

Day 3 – The Virtual Memory Mechanism of Linux

Day 3 - The Virtual Memory Mechanism of Linux

This article aims to introduce the memory usage methods in the Linux kernel, detailing the various regions of memory allocation and their functions. 1. Physical Memory Allocation 1. Physical Memory Allocation Diagram Linux kernel’s physical memory allocation General Overview: The entire physical memory is divided into four blocks. Block 1: Linux Kernel Program This is … Read more

Huawei’s LINUX Laptops: Let’s Not Overhype Them

Huawei's LINUX Laptops: Let's Not Overhype Them

Huawei has released several LINUX laptops, and there are a lot of hype articles online, all looking the same, clearly official promotional content that feels like swallowing a bunch of flies! “Wow, Huawei laptops can actually install WINDOWS!” — as if other laptops can’t install WINDOWS as well; “After installing WINDOWS on Huawei, the experience … Read more

Addressing Asynchronous File Writing Issues in SoC Firmware Upgrades

Addressing Asynchronous File Writing Issues in SoC Firmware Upgrades

Click on the aboveblue text to follow us In industrial production, firmware flashing is a critical step to ensure the normal operation of products. However, in practical applications, due to the asynchronous nature of file writing in the Linux system, it may lead to incomplete firmware flashing, thereby affecting the normal startup and operation of … Read more

A Step-by-Step Guide to Customizing System Images Using Deepin

A Step-by-Step Guide to Customizing System Images Using Deepin

Have you ever thought about creating a custom operating system image by yourself? Whether it’s for a geek project to tailor a development environment or to breathe new life into old devices, customizing system images is an essential skill for enthusiasts. So how can you customize a dedicated system image for the device you have? … Read more

Domestic RISC-V Handheld Console Unveiled

Domestic RISC-V Handheld Console Unveiled

Source: Compiled from IT Home, Super Energy Network, etc. The domestic open-source hardware manufacturer Sipeed is set to launch a RISC-V handheld console — Lichee Pocket 4A, with official images now revealed. In terms of design, the Lichee Pocket 4A references the popular Nintendo Switch, featuring a detachable controller design. Its dimensions are 18 x … Read more

Implementing Shared Memory in C: IPC Mechanism

Implementing Shared Memory in C: IPC Mechanism

Implementing Shared Memory in C: IPC Mechanism In operating systems, Inter-Process Communication (IPC) is a mechanism that allows different processes to exchange data. Shared memory is an important method of IPC that allows multiple processes to access the same physical memory. This method is fast and efficient, making it suitable for applications that require frequent … Read more

Linux File Permission Management

Linux File Permission Management

1. The “Genetic Code” of File Permissions 1. File Type Identifiers First Character File Type Typical Examples d Directory /home, /var/log – Regular File index.html, app.py l Symbolic Link /usr/bin/python3 → python3.9 b/c Block Device/Character Device File /dev/sda (disk), /dev/ttyS0 (serial port) 2. Structure of Permission Triplets The permissions for each user type are composed … Read more

Monitoring and Tuning the Linux Networking Stack: Receiving Data (1) – Network Device Initialization

Monitoring and Tuning the Linux Networking Stack: Receiving Data (1) - Network Device Initialization

Monitoring and Tuning the Linux Networking Stack: Receiving Data In Brief This blog post explains how computers running the Linux kernel receive packets and how to monitor and tune various components of the networking stack as packets flow from the network to user-space programs. Update: We have published a corresponding article: “Monitoring and Tuning the … Read more