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.
All the articles with the tag "linux".
Bash has built-in string operations: substring extraction, find-replace, case conversion, and trimming. You don't need sed for basic text work.
set -e silently fails in subshells, pipes, and conditionals. Learn the gotchas and fix them.
Bash has built-in arithmetic. You don't need bc for 90% of math. Here's how to do it right.
auditd logs every system call, file access, and command. Learn ausearch, aureport, and writing audit rules.
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.
set -euo pipefail makes your bash scripts fail fast instead of silently. Here's what each flag does and why they matter.
Never edit /etc/sudoers directly. One syntax error locks everyone out. Use visudo, understand NOPASSWD risks.
jq is JSON on the command line. Here are 5 one-liners that actually solve real problems: filtering, extracting, transforming, combining, and debugging.
xargs and while read both loop over input, but they handle arguments, signals, and performance differently. Here's when to use each.
Navigate /etc/environment, ~/.bashrc, ~/.profile, and systemd Environment=. When to use each.
Firewall rules are evaluated top-down, first match wins. One misplaced ALLOW rule silently defeats all security.
Understand sticky bit, setuid, and setgid: what they do, how to set them, security implications, and real-world use cases.