When processing log files or analyzing data, deduplication is a common task. The uniq command does exactly that—but with a catch: it only removes…
Posts for: #JavaScript
Linux uname Command: The Swiss Army Knife for System Information
Linux tree Command Deep Dive: From Directory Traversal to Tree Visualization
tree is one of my favorite Linux commands. While ls only shows one level, tree lets you see the entire directory structure at a glance—it’s i…
Linux tr Command Deep Dive: The Art of Character Translation
Exploring the most elegant character processing tool in Unix/Linux, from ASCII tables to stream processing internals
Linux touch Command Deep Dive: From Timestamp Operations to Atomic File Creation
When writing scripts, I often need to create empty files or update file timestamps. The touch command seems simple, but there’s more to it than m…
Deep Dive into Linux top Command: Process Monitoring and Performance Optimization
Written: 2026-05-11 03:23
Linux time Command: A Deep Dive from System Calls to Performance Analysis
When optimizing code performance, the most common question is: why is this command slow? Is it CPU-bound, I/O-bound, or system call overhead? Linux…
Linux tee Command Deep Dive: Pipe Splitting and Dual-Output Implementation
Ever hit this problem? You pipe data through a chain of commands, but you can’t see the intermediate results. Like `cat access.log | grep 404 | wc …
Linux tar Command Deep Dive: From File Packaging to Compression Algorithms
tar is the classic archiving tool in Linux. Most developers only know tar -czvf, but there’s more to its implementation than meets the eye.
Linux tail Command Deep Dive: From End-of-File Reading to Real-Time Log Monitoring
When a production service fails, the first instinct is tail -f logs/error.log. This command looks simple, but its implementation is worth underst…