Posts
Page 69 of 80
-
Docker CMD vs ENTRYPOINT: The Final Answer
CMD and ENTRYPOINT work together rather than competing. Exec form vs shell form, the full behavior matrix, the combo pattern, and the debug override.
· Updated:6 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.
· Updated:16 min read -
How to Actually Read `systemctl status` Output
systemctl status packs a lot into 12 lines. What Loaded, Active, Invocation, Main PID, Tasks, and the CGroup tree each tell you when a service misbehaves.
· Updated:8 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?
Default mount options and journald settings burn SSD write endurance. Check health with smartctl, mount noatime, move logs to tmpfs, find the real writer.
5 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.
· Updated:6 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.
· Updated:6 min read -
Why Your SSH Connection Keeps Dropping
Fix SSH timeouts: ServerAliveInterval, ServerAliveCountMax, ClientAliveInterval. Understand NAT, firewalls, and TCP keepalive.
5 min read -
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:6 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:7 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