Why Your Docker Container Ignores Ctrl+C
PID 1 in a container ignores signals, so Ctrl+C does nothing and stops take 10 seconds. Fix it with exec form CMD or tini, ranked best to worst approach.
All the articles with the tag "linux".
PID 1 in a container ignores signals, so Ctrl+C does nothing and stops take 10 seconds. Fix it with exec form CMD or tini, ranked best to worst approach.
daemon.json controls how the Docker daemon behaves, logging drivers, storage drivers, registry mirrors, and the options worth tuning.
Write bash scripts that don't silently fail, set -euo pipefail, error handling, input validation, and logging patterns for production scripts.
Discord tracks what you're running. Here's how to turn off activity status, game detection, and telemetry so your app habits stay private.
btmp logs failed logins and grows forever on internet-facing servers. Set up logrotate to keep it under control before your disk fills up.
Intel 13th and 14th gen CPUs have a documented instability problem. Here's what's happening, who's affected, and what Intel is doing about it.
By default bash history is lost across multiple terminal sessions. Fix it with histappend and PROMPT_COMMAND so nothing gets overwritten.
Something's squatting on port 8080 and you need to know what. ss, netstat, and lsof one-liners to find the PID behind a port fast.
nohup, disown, and & all keep Linux processes alive after logout, but they work differently. Here's which one to reach for, when, and why.
What is lost+found and why does it exist? fsck puts recovered file fragments there after a crash, and no, you can't delete it.
echo is convenient but inconsistent across systems; printf is portable and precise, know when to use each and avoid the gotchas.
grep is more powerful than you think, regex patterns, context flags, recursive search, and piping tricks that save hours of log digging.