Posts
Page 70 of 80
-
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 -
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 -
Docker Network Aliases: The Feature Nobody Uses
Network aliases give a container more than one DNS name on a Docker network. Blue-green and canary deploy patterns, a Compose example, and the limits.
· Updated:6 min read -
/proc as a Debugging Tool
The /proc filesystem is a live window into every running process on Linux. Debug PIDs, file descriptors, memory, and limits with no extra tools installed.
· Updated:5 min read -
Docker Healthcheck Patterns That Actually Work
Master Docker HEALTHCHECK syntax. Learn what checks work, how to tune interval/timeout/retries, and integrate with orchestration.
5 min read -
zram vs Swap: What's Actually Faster for Low-RAM Servers
Compare zram (compressed RAM) and traditional swap files. Learn when each works, setup, and real-world performance trade-offs for memory-constrained systems.
· Updated:6 min read -
Running Docker Containers as Non-Root (And Why You Should)
Containers run as root by default, which is a real security problem. The USER instruction, numeric UID/GID, the volume mount gotcha, and distroless bases.
· Updated:5 min read -
strace for Beginners: See What Any Process Is Doing
Use strace to trace system calls and debug mysterious permission errors, missing files, and network issues without ever reading source code.
· Updated:5 min read -
Docker Container Labels: The Metadata You're Ignoring
Docker labels are free metadata for filtering, routing, and documentation. Learn label conventions and leverage them with filters and tools.
· Updated:5 min read -
Using the Clipboard from the Linux Terminal
Copy and paste from the Linux terminal without a mouse. Master xclip, xsel, wl-copy, and integrate clipboard with tmux and SSH.
· Updated:5 min read