Tagged articles
29 articles
Page 1 of 1
Liangxu Linux
Liangxu Linux
Sep 4, 2025 · Fundamentals

When to Use Symlinks vs Hard Links in Linux? A Practical Guide

This guide explains the differences between symbolic (soft) links and hard links in Linux, covering their definitions, characteristics, creation commands, inode behavior, cross‑filesystem capabilities, directory restrictions, and real‑world use cases to help you choose the appropriate link type for your needs.

FilesystemHard Linkcommand-line
0 likes · 7 min read
When to Use Symlinks vs Hard Links in Linux? A Practical Guide
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
Liangxu Linux
Liangxu Linux
Oct 28, 2024 · Fundamentals

Mastering Linux Links: Soft, Hard, and Symbolic Link Commands Explained

This guide explains what file links are in Linux, distinguishes soft, hard, and symbolic links, and provides step‑by‑step command‑line examples for creating, inspecting, and removing each type of link, including handling directories and inode behavior.

Hard LinkSymbolic Linkfile system
0 likes · 10 min read
Mastering Linux Links: Soft, Hard, and Symbolic Link Commands Explained
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 LinkSymbolic Linkfile system
0 likes · 11 min read
Master Linux File Links: Soft, Hard, and Symbolic Link Techniques
Liangxu Linux
Liangxu Linux
Oct 27, 2022 · Operations

How to Safely Delete Symbolic and Hard Links in Linux

This guide explains what symbolic and hard links are in Linux and provides step‑by‑step commands—using rm, unlink, and appropriate options—to remove single or multiple links, including those pointing to directories, while avoiding common pitfalls.

Hard LinkSymbolic LinkUNLINK
0 likes · 7 min read
How to Safely Delete Symbolic and Hard Links in Linux
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
Jul 26, 2021 · Fundamentals

When and How to Use Linux Hard Links and Symbolic Links Effectively

This guide explains Linux inode basics, the differences between hard and symbolic links, their creation commands, limitations, and practical scenarios such as version switching, library management, shortcuts, file classification, shared editing, and space‑efficient backups.

FilesystemHard LinkSymbolic Link
0 likes · 13 min read
When and How to Use Linux Hard Links and Symbolic Links Effectively
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 Linkcpfile system
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
Open Source Linux
Open Source Linux
Apr 1, 2020 · Fundamentals

What Is an inode? Uncover the Hidden Structure Behind Linux Files

This article explains the concept of inodes, their contents, size, numbering, relationship with directories, hard and soft links, special behaviors in Unix/Linux, and provides a real‑world troubleshooting example for inode exhaustion.

Filesystem FundamentalsHard Linkfile system
0 likes · 11 min read
What Is an inode? Uncover the Hidden Structure Behind Linux Files
Open Source Linux
Open Source Linux
Feb 18, 2020 · Fundamentals

Master Linux Hard and Symbolic Links: When and How to Use ln

This guide explains the concepts, differences, and practical commands for creating hard links and symbolic (soft) links in Linux, illustrating their behavior with examples, showing their advantages, limitations, and how link counts change across files and directories.

Hard LinkSymbolic LinkUnix
0 likes · 8 min read
Master Linux Hard and Symbolic Links: When and How to Use ln
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 LinkUnixfile system
0 likes · 10 min read
Understanding Inodes: How Unix/Linux Stores File Metadata
ITPUB
ITPUB
Jul 6, 2018 · Fundamentals

Master Linux File Permissions: Decode ls -l, chmod, and Links

This guide explains Linux file ownership, interprets the detailed output of ls -l, clarifies permission bits, distinguishes symbolic and hard links, and demonstrates how to change owners and permissions using both numeric and symbolic methods.

File PermissionsHard LinkSymbolic Link
0 likes · 8 min read
Master Linux File Permissions: Decode ls -l, chmod, and Links