Common Linux Commands – touch to Create Empty Files and Modify Timestamps

Common Linux Commands - touch to Create Empty Files and Modify Timestamps

Follow the card below to get the latest shares by marking the public account. Reply in the background with EmbeddedLearning Materials to get a learning package👇👇👇 Introduction The touch command comes from the English word “touch”, which means “to touch or contact”. In the Linux system, this command is mainly used to create empty files … Read more

Linux Wireless RFKill Subsystem

Linux Wireless RFKill Subsystem

Word count: 1409, reading time approximately 8 minutes Linux Wireless RFKill Subsystem About RFKill The rfkill subsystem provides a generic interface for disabling any radio transmitter in the system. When a transmitter is blocked, it shall not radiate any power. The subsystem also provides the ability to react on button presses and disable all transmitters … Read more

How to Restart a Linux System Using Commands

How to Restart a Linux System Using Commands

The action of restarting the system is often used in Windows, usually after installing some software that requires a system restart to take effect. In this case, you typically click to confirm whether to restart now or later. Naturally, if you click restart now, the system will automatically reboot. If you choose to restart later, … Read more

How to Check the Number of Users in Linux

How to Check the Number of Users in Linux

Hello, dear readers. I believe you are not unfamiliar with the Linux operating system. As an open-source operating system, Linux is widely used in various scenarios, whether on servers, desktops, or embedded systems. Today, I want to share a little story about Linux, focusing on the experience of checking the number of users in a … Read more

An Overview of TC Traffic Control in Linux Kernel Networking

An Overview of TC Traffic Control in Linux Kernel Networking

“Last night, I dreamt of falling flowers by a quiet pond, how pitiful that spring is halfway gone and I haven’t returned home“ Linux kernel Traffic Control (TC) refers to the queuing and scheduling mechanism for receiving and sending data packets by network devices. It can implement basic functions such as Shaping, Scheduling, Policing ingress, … Read more

Exploring the Wonderful World of Linux: Fun Terminal Easter Eggs

Exploring the Wonderful World of Linux: Fun Terminal Easter Eggs

The world of Linux is full of fun and surprises! Today, let’s explore three amazing “Easter eggs” hidden in the Linux terminal: the Tropical Fish Tank, the Shell Train, and the Talking Cow. These seemingly nonsensical little gadgets not only make your terminal lively and interesting but also allow you to show off your “geeky” … Read more

Commonly Used Linux Commands for Developers (1)

Commonly Used Linux Commands for Developers (1)

Introduction As a developer, using the Linux system is a common practice and a skill that every developer must learn. Being proficient in Linux commands can help you complete tasks more efficiently while using the Linux system. vim Command Today, we will introduce the vim command, which is the pro version of the vi command, … Read more

Performance Comparison: Windows WSL vs. Native Linux

Performance Comparison: Windows WSL vs. Native Linux

On Windows, you can call the Linux subsystem, known as WSL. I tested its performance a few years ago and remember it being quite poor, but the data is no longer available. Recently, due to a client’s need to remotely rent my machine, they mentioned that using a Windows virtual machine would be more convenient. … Read more

Analysis of Bus Device Driver Model

Analysis of Bus Device Driver Model

Reviewing the bus device driver model, I’ve made a few notes for reference, experts can skip this. 1. A significant part of the driver framework in the Linux system revolves around the bus device driver model. 2. Involves three important structures: struct bus_type: Bus struct device: Device struct device_driver: Driver 3. Core code analysis of … Read more

Using I2C to Drive PCA9555 Expansion Chip

Using I2C to Drive PCA9555 Expansion Chip

To further study Linux I2C, after the previous I2C driver for BL24C04, I have prepared the PCA9555/TCA9555 expansion GPIO chip. Its specific function is to extend 16 GPIOs via the I2C bus and it has input interrupt capabilities. 1. Add PCA9555 Device Tree Node According to the PCA9555 circuit diagram above, the 7-bit I2C address … Read more