Tagged articles
9 articles
Page 1 of 1
php Courses
php Courses
Sep 17, 2025 · Backend Development

Master PHP’s unlink(): Delete Files & Directories Safely

Learn how to use PHP’s unlink() function to delete files and empty directories, understand its syntax, handle return values, see practical code examples for file and directory removal, and discover important considerations such as handling non‑empty directories and error checking.

PHPUNLINKdirectory deletion
0 likes · 4 min read
Master PHP’s unlink(): Delete Files & Directories Safely
Tech Freedom Circle
Tech Freedom Circle
Sep 2, 2025 · Databases

Avoid Redis Blocking: Dangerous Commands and How to Prevent Outages

In Redis's single‑threaded model, commands with O(n) or higher complexity—such as KEYS, HGETALL, LRANGE, SMEMBERS, and DEL on large keys—can block the server during traffic spikes, but using incremental scans, key splitting, and async deletion can eliminate the risk and keep services responsive.

BlockingCommand OptimizationDatabase Performance
0 likes · 23 min read
Avoid Redis Blocking: Dangerous Commands and How to Prevent Outages
php Courses
php Courses
Oct 18, 2023 · Backend Development

How to Use PHP unlink() to Delete Files and Directories

This tutorial explains the PHP unlink() function, covering its syntax, parameters, return values, and practical examples for deleting both files and empty directories, while also noting its limitations and the need for rmdir() when handling non‑empty directories.

PHPUNLINKdirectory deletion
0 likes · 5 min read
How to Use PHP unlink() to Delete Files and Directories
Liangxu Linux
Liangxu Linux
Nov 20, 2022 · Operations

How to Safely Delete Symbolic (Soft) Links in Linux

This guide explains what symbolic links are, why Linux lacks a dedicated delete command, and how to reliably remove them using rm or unlink, covering single links, multiple links, directory links, and hard links with practical examples and pitfalls.

LinuxSymbolic LinkUNLINK
0 likes · 6 min read
How to Safely Delete Symbolic (Soft) Links in Linux
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 LinkLinuxSymbolic Link
0 likes · 7 min read
How to Safely Delete Symbolic and Hard Links in Linux
Liangxu Linux
Liangxu Linux
Sep 13, 2022 · Operations

When to Use unlink vs rm: Master Linux File Deletion

This article explains how the Linux unlink command deletes files and links, details its usage syntax, highlights its limitations—such as inability to remove multiple items or directories—and compares it with the more versatile rm command, helping you choose the right tool for safe file removal.

LinuxUNLINKfile deletion
0 likes · 5 min read
When to Use unlink vs rm: Master Linux File Deletion
Open Source Linux
Open Source Linux
Aug 18, 2022 · Operations

Master the Linux unlink Command: When and How to Use It vs rm

This article explains the Linux unlink command, how it deletes files and links, its syntax, limitations compared with rm, and scenarios where using unlink is preferable, providing clear examples and safety considerations for system administrators.

LinuxSystem AdministrationUNLINK
0 likes · 5 min read
Master the Linux unlink Command: When and How to Use It vs rm
ITPUB
ITPUB
Feb 22, 2022 · Databases

Understanding and Solving Redis Big‑Key Problems

This article explains what constitutes a Redis big key, why it harms performance, how to detect it with tools like bigkeys, redis‑rdb‑tools, and monitoring, and provides practical removal, compression, and sharding strategies to mitigate the issue.

Big KeySCANUNLINK
0 likes · 9 min read
Understanding and Solving Redis Big‑Key Problems