Tagged articles
19 articles
Page 1 of 1
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jan 14, 2025 · Backend Development

Understanding npm, Yarn, and pnpm: Dependency Management, Flat Dependencies, and pnpm's Store Mechanism

This article examines the evolution of JavaScript package managers—from npm's nested node_modules structure to Yarn's flat dependencies and finally pnpm's global store with hard‑ and soft‑link mechanisms—highlighting how each approach addresses path length, disk‑space waste, installation speed, and ghost‑dependency issues.

Hard LinkYARNdependency management
0 likes · 8 min read
Understanding npm, Yarn, and pnpm: Dependency Management, Flat Dependencies, and pnpm's Store Mechanism
Open Source Linux
Open Source Linux
Aug 22, 2024 · Fundamentals

Master Linux File Links: Soft, Hard, and Symbolic Link Techniques

This guide explains Linux file linking concepts—including soft, hard, and symbolic links—detailing how to create, inspect, and remove them with commands like ln, ls, touch, cat, rm, and unlink, while highlighting inode behavior and directory restrictions.

Hard LinkLinuxSymbolic Link
0 likes · 11 min read
Master Linux File Links: Soft, Hard, and Symbolic Link Techniques
Liangxu Linux
Liangxu Linux
Apr 28, 2022 · Fundamentals

What Is an Inode? Understanding Linux File Metadata and Links

This article explains the concept of inodes in Unix/Linux filesystems, detailing their structure, stored metadata, size calculations, inode numbers, directory handling, hard and soft links, and the special behaviors that arise from separating file names from inode identifiers.

FilesystemHard Linkinode
0 likes · 9 min read
What Is an Inode? Understanding Linux File Metadata and Links
ELab Team
ELab Team
Dec 31, 2021 · Fundamentals

Mastering Inodes, Hard & Soft Links: From Linux to Frontend Tooling

This article explains the fundamentals of inodes, sectors, and blocks, demonstrates how to retrieve file information with Node.js and Linux commands, compares hard and soft links, and shows practical applications of these links in frontend workflows such as yarn link and pnpm installation.

FilesystemFrontend toolingHard Link
0 likes · 14 min read
Mastering Inodes, Hard & Soft Links: From Linux to Frontend Tooling
Liangxu Linux
Liangxu Linux
Jun 2, 2021 · Fundamentals

What Really Happens When You Use ln, mv, and cp on Linux?

This article demystifies the three common Linux commands—ln, mv, and cp—explaining how they differ in handling inodes, dirents, and data blocks, when they create links or move files, and why their performance varies across file systems and file types.

Hard LinkLinuxcp
0 likes · 16 min read
What Really Happens When You Use ln, mv, and cp on Linux?
Liangxu Linux
Liangxu Linux
Jul 8, 2020 · Operations

How to Delete Log Files Recursively and Free Disk Space on Linux

This article walks through common interview questions about removing log files, demonstrates safe recursive deletion with find, explains why deleted files may still occupy space when opened, shows how to identify and clean them using lsof, logrotate, and crontab, and clarifies the differences between soft and hard links.

Hard Linkfindlog-management
0 likes · 9 min read
How to Delete Log Files Recursively and Free Disk Space on Linux
ITPUB
ITPUB
Jan 10, 2020 · Fundamentals

Understanding Inodes: How Unix/Linux Stores File Metadata

This article explains Unix/Linux inodes—the metadata structures that store file information—covering their purpose, contents, size considerations, inode numbers, directory handling, hard and soft links, and special inode-related operations, with practical command examples and visual illustrations.

Hard LinkLinuxUnix
0 likes · 10 min read
Understanding Inodes: How Unix/Linux Stores File Metadata