Description of Linux File Attributes

Description of Linux File Attributes

1. File Owner The Linux system is a multi-user, multi-tasking operating system. The user’s role (who you are) is identified by UID (user) and GID (group). Users are divided into three categories: superuser, ordinary user, and virtual user. UID (user): The user’s UID is akin to our ID card, while the username is like our … 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

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

Linux | 21. Soft Links and Hard Links (ln)

Linux | 21. Soft Links and Hard Links (ln)

Introduction Building on the previous content, aliases can help us simplify some complex commands, while the soft links and hard links introduced in this lesson can help us simplify file paths and save storage space (avoiding repeated copies). Video Tutorial The video is also available on Bilibili for easier viewing. You can access the original … Read more

Exploring Linux: The Secrets of File and Link Operations

Exploring Linux: The Secrets of File and Link Operations

File System 1. Experiment Objectives The file system (p583, programming problem) checks the relationship between files and inode on UNIX or Linux systems. On these systems, files are represented by inodes. In other words, an inode is a file (and vice versa). You can complete this exercise on the Linux virtual machine provided in this … Read more

From Beginner to Expert: Comprehensive Guide to Linux Soft and Hard Links and Dynamic and Static Libraries

From Beginner to Expert: Comprehensive Guide to Linux Soft and Hard Links and Dynamic and Static Libraries

Linux | Red Hat Certified | IT Technology | Operations Engineer 👇1000-person technical exchange QQ group, note [public account] for faster approval Soft and Hard Links Difference between Soft and Hard Links: Soft Link: It is an independent file with its own inode and inode number. Hard Link: It is not an independent file; it … Read more

Enhancing Your Linux File Management: A Comprehensive Guide to Hard and Soft Links

Enhancing Your Linux File Management: A Comprehensive Guide to Hard and Soft Links

Linux | Red Hat Certified | IT Technology | Operations Engineer 👇 Join the technical exchange QQ group with 1000 members, note [Official Account] for faster approval 1. Establishing Links ln can be used to create links, but ln creates hard links by default. If you add the -s option, it creates a soft link … Read more