Posts
Page 47 of 53
-
Docker CMD vs ENTRYPOINT: The Final Answer
CMD and ENTRYPOINT work together. Learn the difference, exec vs shell form, and when to use the combo pattern.
5 min read -
SSHFS: Ditch SCP & Access Remote Files
SSHFS mounts remote filesystems over SSH so you can browse and edit files locally — faster than scp for interactive work.
15 min read -
How to Actually Read `systemctl status` Output
Decode systemctl status: Active state, CGroup processes, recent logs, loaded/enabled state. What each field tells you.
7 min read -
SSH Agent Forwarding: How It Works
Understand SSH agent forwarding security risks. When it's safe (almost never), and better alternatives like ProxyJump for jump hosts.
5 min read -
Is Your Linux Server Destroying Its SSD?
Check SSD health, find excessive write patterns, use noatime, move logs to tmpfs to extend lifespan.
6 min read -
Docker Compose Profiles: Run Only What You Need
Profiles let you conditionally start services in Compose. Perfect for dev vs prod service splits without multiple files.
5 min read -
journalctl Queries Every Sysadmin Needs
Essential journalctl commands: -u, -f, --since, -p, -k, -b, --no-pager, JSON output. The queries you need on a broken server at 2 AM.
6 min read -
Why Your SSH Connection Keeps Dropping
Fix SSH timeouts: ServerAliveInterval, ServerAliveCountMax, ClientAliveInterval. Understand NAT, firewalls, and TCP keepalive.
5 min read -
Cleaning Up Docker Disk Space the Right Way
docker system prune is useful but risky. Learn what each cleanup command does and how to check disk usage safely.
6 min read -
Why Your Cron Job Is Failing Silently
PATH is different in cron, stdout is muted, and MAILTO breaks silently. Learn cron traps and how to debug them.
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.
6 min read