Summary of Common Linux Hooking Techniques

01Hook FunctionsHook functions are predefined hooks in a program that allow you to attach or register a hook function when needed, making it available for the target.If there are no hooks, you can also obtain function pointers to encapsulate functions, but this can only be attached before or after the function runs, not during its … Read more

Linux User Permissions

1. Basic Permissions Permission Basics Users and Groups File Owner (User): The user who created the file, possessing the highest level of control. Group: A set of users that share file permissions. Others: Users who are neither the owner nor part of the group. Three Basic Permissions Read <span>r=4</span>: Permission to read. View file contents … Read more

Linux Series: How to Use Heaptrack to Trace .NET Program Unmanaged Memory Leaks

1. Background 1. Storytelling Previously, I shared an article about <span>unmanaged memory leaks caused by C# calling C code</span>. This was a deliberately induced positive leak. In this article, we will explore the root cause of the leak from a reverse perspective. This issue is relatively easy to handle on Windows, as many people know … Read more

In-Depth Explanation of the ‘find’ Command in Linux

In the world of Linux, file management is a core task. Whether system administrators are maintaining servers or developers are searching for specific code files, quickly and accurately locating files is crucial. 1. Basic Syntax of the ‘find’ Command The basic syntax of the ‘find’ command is: find [search path] [expression] Search path: Specifies the … Read more

Linux Driver Development

The MMC/SD driver model is widely used in embedded development, and its corresponding Linux system framework can be classified under block devices. If you want to understand the IO storage stack, you can start with the simple MMC/SD driver model. Linux MMC/SD Driver Model The MMC/SD driver in Linux is mainly divided into three layers: … Read more

Comprehensive Guide to Linux System Information Commands

Those who follow me are the kindest! Only speaking for the people, using the pen to clarify the situation and measure the warmth of the world. Did you know? If you want to explore the secrets of Linux systems, here is a treasure trove of practical commands! From basic system information to hardware, disk, processes, … Read more

Mastering the Linux File System: The cp Command and Practical Applications 2

Friendly Reminder If you like this article, please share it with your friends. If you have any questions or want more information, please follow or leave a message. In Linux systems, the file copying operation is an essential part of daily management tasks.<span><span>cp</span></span> command is a commonly used tool for copying files and directories, providing … Read more

Installation of BLAST on Linux Operating System

1. Introduction to BLASTBLAST (Basic Local Alignment Search Tool) is a bioinformatics tool provided by NCBI (National Center for Biotechnology Information) for comparing gene or protein sequences. Below are the complete steps for installing and using BLAST on a Linux system.2. Installation of BLAST01 Download the BLAST installation package wget https://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/LATEST/ncbi-blast-2.15.0+-x64-linux.tar.gz02 Extract the downloaded installation … Read more

Why is Everything a File in Linux?

“Everything is a file” is a core concept in the Linux operating system, which not only reflects the simplicity and unity of the Unix/Linux design philosophy but also provides a solid foundation for the system’s modularity, programmability, and composability.In the Linux system, “everything is a file” means that almost all resources in the system, including … Read more