Linux System Directory Structure

Linux System Directory Structure Linux can actually change the rules, but most still follow this structure.http://www.pathname.com/fhs/ $> man hier //description of the file system hierarchy#> tree -d -L 2 / /: This is the root directory. This is where the whole tree starts. /bin: This directory contains executable programs which are needed in single user … Read more

C Programming on Linux

Introduction First of all, I believe that foundational knowledge in computer science is timeless, while trendy “practical skills” may quickly become obsolete. This is why, during the major selection process in my sophomore year, I chose the Computer Science and Technology major instead of other flashy fields. In my junior and senior years, when studying … Read more

Introduction to Linux

The GNU Manifesto https://dpya.org/en/images/8/81/The_GNU_Manifesto_-_GNU_Project_-_Free_Software_Foundation.pdf https://www.gnu.org/gnu/manifesto.en.html Linux VS Windows Comparison Windows Linux Interface The interface is unified, and the shell program fixes all Windows program menus to be almost identical, with similar shortcut keys. The graphical interface style varies by distribution and may be incompatible. The terminal of GNU/Linux is inherited from UNIX, and the basic … Read more

How to Handle Full Disk Space in Linux?

Click the blue text to follow us When the disk space is full, it can lead to application anomalies. How should we troubleshoot the issue of full disk space? First, we need to confirm the disk space usage. To check the disk space usage, we can use the df command. [root@VM-181-124 ~]# df -h Filesystem … Read more

Introduction to Linux Shell Programming (Part 2) – grep, sed, awk

Learning and Practicing This article describes commands related to text processing in Shell programming, such as grep, sed, and awk grep: <span>grep is a text search tool used to search for lines in files that match one or more regular expressions.</span> <span>It is fast, flexible, and the standard tool for text searching.</span> <span>grep supports various … Read more

Understanding Linux Folios: A New Approach to Memory Management

1. Background In early memory management modules, the concept of compound pages was introduced to describe Linux Compound Pages; however, there are design flaws inherent in compound pages themselves. In practical applications, the compound_head of compound pages presents issues in distinguishing between head pages and tail pages. Improper usage can easily lead to system exceptions. … Read more