Linux System Directory Structure

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

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

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

Bypassing Baidu Cloud Drive Speed Limit on Linux

Bypassing Baidu Cloud Drive Speed Limit on Linux

Introduction First of all, I am a member of Baidu Cloud Drive, and I am a super member with annual automatic renewal. However, I feel that Baidu is being unreasonable by not releasing a Linux version, which can only be used on Windows. Until May of this year, there was still no Linux version released. … Read more

How to Handle Full Disk Space in Linux?

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

Understanding Linux Folios: A New Approach to Memory Management

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

Summary of Linux File Directories, Disk File Systems, and Compression Commands

Summary of Linux File Directories, Disk File Systems, and Compression Commands

Summary of Linux File Directories, Disk File Systems, and Compression Commands File and Directory Management Basic Commands • ls – List directory contents ls # List files and directories in the current directory ls -l # Long format to display detailed information ls -a # Show all files (including hidden files) ls -la # Show … Read more

Linux Power Management (3) – The Process of Shutdown and Reboot

Linux Power Management (3) - The Process of Shutdown and Reboot

Original:https://mp.weixin.qq.com/s/2ACNTsl_JQSMwvWsZf55zw 1. Introduction During the use of a computer, shutting down and rebooting are the first two operations learned. Similarly, these two operations exist in Linux, allowing for shutdown and reboot. This is the subject to be described here. In the Linux Kernel, mainstream shutdown and reboot are implemented through the “reboot” system call (for … Read more

Installing JDK on Linux

Installing JDK on Linux

Java development is a fundamental skill that Linux experts must master. This article will introduce how to install JDK on Linux and configure the Java environment. (This article uses jdk-8u201-linux-x64.tar.gz as an example) 1. Uninstall the pre-installed JDK (most Linux distributions come with Java, but it may not be usable) 1) Check the installed JDK: … Read more