Linux System Disk Space Available but Read-Only Error: No Space Left on Device

Linux System Disk Space Available but Read-Only Error: No Space Left on Device

Click the blue text to follow us // A journey of a thousand miles begins with a single step 【Problem Description】 After logging into the Linux system, the cloud host disk shows available space with the command df -h, but it reports a read-only error: No space left on device. 【Problem Analysis】 This is a … Read more

Exploring the Linux File System: A Complete Guide from Root Directory to Inode

In the universe of Linux, we interact with files and directories every day. Commands like ls, cd, and cat are as natural as breathing. However, most people navigate this jungle of code without ever seeing its map, let alone understanding the physical laws that support this jungle. When you enter ls -l, the filenames, dates, … Read more

In-Depth Understanding of Linux Linking Mechanisms: Hard Links vs Symbolic Links

In-Depth Understanding of Linux Linking Mechanisms: Hard Links vs Symbolic Links

In Linux systems, a “link” is a special type of file that allows a file to have multiple names or paths within the file system. Links are a key concept for understanding the structure and management of files in Linux. They are mainly divided into two types:Hard Links and Symbolic Links (also known as Soft … Read more

Comprehensive Guide to the Linux df Command

Comprehensive Guide to the Linux df Command

Click the blue text to follow us 1. Introduction The df command (full English: display free disk space) is used to display or view the space usage of file systems (or disks), including total capacity, used space, available space, usage rate, and mount points. 2. Syntax Syntax: df [options]… [file]… Parameter Description: Parameter Parameter Description … Read more

Understanding Linux Soft and Hard Links for File Management

Linux | Red Hat Certified | IT Technology | Operations Engineer 👇 1000 people technical exchange QQ group, note [public account] for faster access 1. Soft and Hard Link Operations 1. Soft Link How to create a corresponding soft link for the file file.txt created using touch? ln -s file.txt file-soft.link to create a soft … Read more

Detailed Introduction to Inode Nodes in Linux File System

1. What is an inode? To understand an inode, we must start with file storage. Files are stored on the hard disk, and the smallest storage unit on the hard disk is called a ‘sector’. Each sector stores 512 bytes (equivalent to 0.5KB). When the operating system reads the hard disk, it does not read … Read more

Encountering Garbled File Names in Development Board Directory? Character Encoding Issues in Embedded Linux Development

Encountering Garbled File Names in Development Board Directory? Character Encoding Issues in Embedded Linux Development

After completing the entire project development, we sometimes suddenly find a file with a garbled string name in the development board’s directory, and even the file size is 0. Moreover, when the file name is garbled, it is impossible to input the file name via the keyboard, making it impossible to manage the file through … Read more

How to Delete Files with Special Characters or Corrupted Names in Linux

How to Delete Files with Special Characters or Corrupted Names in Linux

When a program or system malfunctions, it can lead to file names containing special characters or becoming corrupted. Sometimes, using the rm command directly may not work, as shown in the image below:Here are several methods to delete such files: 1 Use rm — or rm ./ If the file name starts with a ‘-‘, … Read more