Tag: linux
All the articles with the tag "linux".
-
String Manipulation in Bash (Without sed or awk)
Bash has built-in string operations: substring extraction, find-replace, case conversion, and trimming. You don't need sed for basic text work.
-
bash `set -e` Doesn't Work Like You Think
set -e silently fails in subshells, pipes, and conditionals. Learn the gotchas and fix them.
-
Proxy Chains and Anonymization: What Actually Works and What's Just Theater
Proxy chains, Tor, proxychains-ng, and VPN+Tor combos: an honest breakdown of what actually protects your privacy and what's security theater.
-
Bash Arithmetic Without bc
Bash has built-in arithmetic. You don't need bc for 90% of math. Here's how to do it right.
-
Linux Audit Log: What's Really Happening on Your Server
auditd logs every system call, file access, and command. Learn ausearch, aureport, and writing audit rules.
-
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.
-
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.
-
The sudoers Mistake Everyone Makes Once
Never edit /etc/sudoers directly. One syntax error locks everyone out. Use visudo, understand NOPASSWD risks.
-
awk for Log Parsing: 5 Patterns You'll Actually Use
awk is perfect for parsing logs. Here are 5 patterns that handle filtering, summing, counting, splitting fields, and pretty-printing without reaching for Perl or Python.
-
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.
-
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.
-
Where Environment Variables Actually Live in Linux
Navigate /etc/environment, ~/.bashrc, ~/.profile, and systemd Environment=. When to use each.