Linux Basics for Hackers, 2nd Edition by OccupyTheWeb

Linux Basics for Hackers, 2nd Edition

Getting Started With Networking, Scripting, and Security in Kali

OccupyTheWeb

No Starch Press · Print & ebook · July 1, 2025

A revised introduction to the Linux operating system for beginning hackers and penetration testers.

Buy on Amazon

We earn from qualifying purchases.

Who it’s for
Learn Kali Linux through core system skills, scripting, security concepts, and hands-on exercises.
Themes
Linux basics, Hacking fundamentals, Cybersecurity tools
Pacing
Steady

About this book

A revised introduction to the Linux operating system for beginning hackers and penetration testers. If you’re just getting started along the exciting path of hacking, cybersecurity, and pentesting, Linux Basics for Hackers is an excellent introduction. With Kali Linux, an operating system designed for digital forensics and penetration testing, you’ll learn the basics of using Linux and acquire the tools and techniques you’ll need to take control of a Linux environment.

Continue reading

First, you’ll learn how to install Kali on a virtual machine and get an introduction to basic Linux concepts. Next, you’ll tackle broader Linux topics like manipulating text, controlling file and directory permissions, and managing user environment variables. You’ll then focus on foundational hacking concepts like security and anonymity and learn scripting skills with bash and Python. Practical tutorials and exercises throughout will reinforce and test your skills as you learn how to: - Cover your tracks by changing your network information and manipulating the journalctl logging utility - Write a tool to scan for network connections, and connect and listen to wireless networks - Keep your internet activity stealthy using Tor, proxy servers, VPNs, and encrypted email - Write a bash script to find potential attack targets over a range of IP addresses - Use and abuse services like MySQL, the Apache web server, and OpenSSH - Build your own hacking tools, such as remote spy cameras and password crackers New to this edition: This second edition has been updated to address recent changes to Kali and Linux, including a more secure approach to root privileges, updates to Bluetooth and Linux logging functions, and a new chapter with advice on AI in cybersecurity. Hacking is complex, and there is no single way in. Why not start at the beginning with Linux Basics for Hackers?

Kali Linux Foundations

Learn Kali Linux through core system skills, scripting, security concepts, and hands-on exercises.

Come here for

  • Kali installation and Linux basics, from permissions to environment variables
  • Bash and Python scripting, with tutorials and exercises

Expect

  • Guidance on networking, anonymity tools, and Linux services
  • A second edition updated for Kali, Linux, and AI in cybersecurity

Where it sits

Linux Systems63%
Network Security50%
Computer Security38%

Percentages are BookFrontier’s reading of the book.

Publisher categories

  • Network Security
  • Linux Systems
  • Open Source Development
Authors
OccupyTheWeb
Publisher
No Starch Press
Published
July 1, 2025
Format
Print & ebook
Theme
Linux basics · Hacking fundamentals · Cybersecurity tools
Reading lane
Network Security