// Comparison
Black Hat Bash vs Linux Basics for Hackers: Which Should You Read?
Two cybersecurity books on Linux, compared honestly: who each is for, what each does best, and which to read first.
Creative Scripting for Hackers and Pentesters
Nick Aleks, Dolev Farhi
Nick Aleks and Dolev Farhi on getting offensive work done with the shell: privilege escalation tooling, lateral movement, and pipelining bash with the rest of the toolkit.
Getting Started with Networking, Scripting, and Security in Kali
OccupyTheWeb
OccupyTheWeb's introduction to Linux from the angle that hackers and pentesters actually need it: shells, networking, scripting, and Kali tooling.
Read this if
Skip this if
Key takeaways
- Most offensive bash is data plumbing: enumerate, parse, pivot, exfiltrate. The book's framing makes the workflow explicit instead of magic.
- Living-off-the-land on Linux is a real strategy; bash + awk + sed + curl is often more reliable than dropping a custom binary on a hardened target.
- The chapters on log tampering, persistence via cron / systemd, and privilege escalation chains are the practical core for any operator who finishes a foothold and needs to keep moving.
- Linux fluency for security work is a small, finite skill: shell, file ops, services, networking commands, basic scripting. The book covers exactly that and nothing more.
- Type every command. The book is muscle-memory training disguised as a reference; passive reading wastes the time.
- Kali is a defaults-and-tooling distro, not a different OS; understanding base Linux means you'll never be confused when the tool isn't pre-installed.
How they compare
Black Hat Bash and Linux Basics for Hackers are both rated 4/5 in our catalog. Pick by topic preference and reading style rather than by rating.
Black Hat Bash is pitched at intermediate level. Linux Basics for Hackers is pitched at beginner level. Read the easier one first if you're not yet comfortable with the topic.
Black Hat Bash and Linux Basics for Hackers both cover Linux, so reading them in sequence reinforces the same material from different angles.