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…
Posts for: #Tutorial
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…
Linux sudo Command Deep Dive: Permission Escalation and Security Best Practices
As a Linux system administrator, I type sudo dozens of times every day. It allows us to work as regular users most of the time, only elevating pr…
Deep Dive into Linux SSH: From Protocol to Practice
SSH (Secure Shell) is essential for every sysadmin and developer, yet many only know basic connection commands. Let’s explore the technical details…
Linux split Command Deep Dive: From File Segmentation to Parallel Processing
Recently, while processing a 10GB log file, my text editor froze instantly. Using head and tail only showed the beginning and end—analyzing the…
Linux sort Command: From Sorting Algorithms to Performance Optimization
Sorting is fundamental to data processing, and Linux’s sort command is the Swiss Army knife for command-line sorting. You might use it daily, but…