Posts
Page 61 of 72
-
ss Is the New netstat (And It's Better)
ss replaces netstat on modern Linux: faster, shows more socket detail, and reads from the kernel. Every netstat command you rely on, rewritten for ss.
· Updated:5 min read -
Cleaning Up Docker Disk Space the Right Way
docker system prune reclaims space and can delete volumes you wanted. What each cleanup command removes, how to check usage first, and a safe script.
· Updated:6 min read -
Why Your Cron Job Is Failing Silently
Cron runs a different PATH, mutes stdout, and breaks MAILTO quietly. Absolute paths, an explicit PATH, log redirection, and how to test a job first.
· Updated:6 min read -
SSH Multiplexing: Stop Reconnecting Every Time
Master SSH ControlMaster, ControlPath, and ControlPersist. Reuse connections for lightning-fast SSH, SCP, and rsync operations.
5 min read -
The Linux OOM Killer: Why It's Killing Your App
Why Linux kills your app with no warning. Understand the OOM killer, read dmesg logs, and shield critical processes with oom_score_adj and swap.
· Updated:6 min read -
Stop Putting Passwords in Docker ENV
ENV bakes secrets into image layers that docker history shows to anyone. Use BuildKit secret mounts, runtime variables, or a real secrets manager.
· Updated:5 min read -
find Flags You Keep Forgetting
Practical find command examples: -mtime, -newer, -type, -exec vs xargs, -not, size filters. The patterns you google every time.
6 min read -
The SSH Config File: The Shortcut You're Not Using
Master ~/.ssh/config: Host aliases, HostName, User, Port, IdentityFile, ProxyJump. Stop typing long SSH commands. One-line setup.
4 min read -
Why the `latest` Docker Tag Is Lying to You
The latest tag does not mean newest, it means whatever was pushed untagged. Why that breaks reproducible deploys and how to pin versions and digests.
5 min read -
Why kill -9 Is the Wrong Default
kill -9 skips cleanup and leaves locks and half-written data behind. SIGTERM vs SIGKILL, the graceful shutdown pattern, pkill, and how systemd does it.
· Updated:6 min read -
Multi-Platform Docker Builds with buildx
Build ARM64 and AMD64 images from one machine using Docker buildx. Setup, syntax, pushing multi-arch manifests, and when you actually need it.
· Updated:6 min read -
The umask You've Been Ignoring
Understand Linux umask: what it is, how 022 and 027 work, calculating file permissions, and why it matters for shared directories and security.
5 min read