Techniques for Writing Robust, Reliable Bash Scripts
Write bash scripts that don't silently fail, set -euo pipefail, error handling, input validation, and logging patterns for production scripts.
All the articles with the tag "linux".
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.
AV vs EDR, traditional antivirus signatures vs behavioral endpoint detection. What each catches, what it misses, and what you actually need.
Running new hardware on Ubuntu LTS? The HWE kernel backports newer kernel and graphics support. Here's how to switch from generic to HWE safely.