Tag

rm

1 views collected around this technical thread.

Efficient Ops
Efficient Ops
Apr 11, 2021 · Operations

Essential Safety Checklist for Dangerous Linux Commands

This guide outlines critical precautions and best‑practice tips for executing risky Linux commands—such as rm, chmod, cat, dd, tar, and MySQL—by verifying environments, backing up data, using safe aliases, and avoiding common pitfalls that can cause catastrophic data loss.

BackupCommand-lineLinux
0 likes · 8 min read
Essential Safety Checklist for Dangerous Linux Commands
Efficient Ops
Efficient Ops
May 18, 2020 · Operations

Why Do Files Disappear After a Cloud VM Restart? Common Pitfalls and Fixes

This article outlines five typical cloud‑host file‑loss scenarios—including tmpfs data loss after reboot, accidental rm commands, and disk damage from fio or dd—explains their causes, and provides practical prevention and recovery recommendations for operations engineers.

cloudddfile loss
0 likes · 10 min read
Why Do Files Disappear After a Cloud VM Restart? Common Pitfalls and Fixes
Tencent Database Technology
Tencent Database Technology
Nov 6, 2017 · Fundamentals

Deep Dive into the Linux rm Command: VFS, ext4 Unlink Process and I/O Impact

This article explains what happens inside the Linux kernel when the rm command deletes a file on an ext4 filesystem, analyzes the relevant VFS and ext4 source code, and demonstrates how large‑file deletions can degrade I/O performance of other applications.

KernelLinuxVFS
0 likes · 12 min read
Deep Dive into the Linux rm Command: VFS, ext4 Unlink Process and I/O Impact
Efficient Ops
Efficient Ops
Apr 20, 2016 · Operations

Can rm -rf / Really Wipe Your System? What POSIX Says and Real‑World Tests

This article explains why the infamous rm -rf / command is blocked by modern POSIX‑compliant coreutils, shows the exact error messages, details version requirements, and demonstrates how the dangerous --no-preserve-root option can override the safety guard.

LinuxPOSIXSystem Administration
0 likes · 6 min read
Can rm -rf / Really Wipe Your System? What POSIX Says and Real‑World Tests