Posts
Page 59 of 72
-
Bash Arithmetic Without bc
Bash does arithmetic natively, so you can drop bc for most math. Arithmetic expansion, conditions, bitwise operators, and the trap inside $(( )).
5 min read -
n8n vs Node-RED: Automate Everything Without Learning to Code (Much)
You're paying $20/month to Zapier for two HTTP requests. n8n and Node-RED replace it for free: Docker setup, real workflows, and a head-to-head comparison.
· Updated:8 min read -
Linux Audit Log: What's Really Happening on Your Server
auditd logs every system call, file access, and command run on your Linux server. Learn ausearch, aureport, and how to write audit rules that catch it.
6 min read -
Ventoy: Boot Any OS, Any Time
Ventoy turns any USB drive into a multi-boot drive, drop ISOs on it and boot any OS without re-flashing the drive each time.
· Updated:14 min read -
Bash Strict Mode: set -euo pipefail Explained
set -euo pipefail makes your bash scripts fail fast instead of silently. Here's what each flag does and why they matter.
· Updated:6 min read -
The sudoers Mistake Everyone Makes Once
One syntax error in /etc/sudoers locks everyone out of root. Use visudo, read the syntax properly, avoid the common mistakes, and know what NOPASSWD gives.
5 min read -
awk for Log Parsing: 5 Patterns You'll Actually Use
awk is perfect for parsing logs. 5 patterns for filtering, summing, counting, splitting fields, and reformatting, no Perl or Python required.
· Updated:6 min read -
Why Your TLS Certificate Isn't Trusted
Incomplete chains, bundles in the wrong order, and self-signed certs all read as untrusted. Diagnose with openssl s_client, then rebuild the chain properly.
· Updated:5 min read -
jq One-Liners Every Sysadmin Needs
jq is JSON on the command line. Here are 5 one-liners that actually solve real problems: filtering, extracting, transforming, combining, and debugging.
· Updated:4 min read -
Certificate Expiry: Monitor Before the 3 AM Call
Certificates expire silently and take the site with them. Check expiry with openssl, automate the check with cron or Uptime Kuma, and audit every cert.
5 min read -
xargs vs while read: Which One and When
xargs and while read both loop over input, but they handle arguments, signals, and performance differently. Here's when to use each.
5 min read -
Where Environment Variables Actually Live in Linux
Environment variables live in five places on Linux: /etc/environment, ~/.bashrc, ~/.profile, systemd Environment=, and the shell. When to use each one.
6 min read