Terminal & Bash
Build command-line fluency, learn text manipulation, and start automating repetitive work with Bash.
Your roadmap
Lessons in this phase
Follow the lessons in order and build each skill on the previous one.
Phase Introduction
What Is a Terminal and Why Hackers Live in It
Understand what a terminal really is, why the command line is the primary tool of every serious security professional, and experience firsthand what makes it more powerful than any graphical interface.
GUI vs Command Line — How Terminal Thinking Works
Understand the fundamental difference between graphical and command-line thinking, learn how text flows through a terminal with stdin, stdout, and stderr, and start thinking in commands rather than clicks.
Text Manipulation
Why Text Manipulation Matters in Cybersecurity
Understand why so much cybersecurity work is really text processing, and why learning to filter, extract, and reshape text is a major force multiplier.
Searching Through Files with grep
Master grep from the ground up — basic searches, powerful flags, regex patterns, and real security workflows that turn raw text into targeted findings.
Text Processing with cut, sort, uniq, and wc
Learn how to extract columns, sort output, count unique values, and measure text fast with cut, sort, uniq, and wc.
Finding Files
Why File Discovery Matters in Pentesting
Understand why finding the right files is often more important than exploiting vulnerabilities, and how file discovery shapes every phase of a penetration test.
Finding Files with find
Master the find command to locate files by name, type, size, permissions, and modification time — and combine it with other commands to build powerful search workflows.
Pipes and Redirections
Learn stdin, stdout, stderr, and master pipes and redirections to chain commands into real cybersecurity workflows.
Bash Scripting
What a Script Is and Why Automation Changes Everything
Understand what a Bash script is, why automation is a force multiplier in cybersecurity, and write your first real script from scratch.
Bash Variables and Conditions
Master Bash variables and conditional logic to write scripts that make decisions — checking file existence, comparing values, and responding intelligently to system state.
Bash Loops
Master for loops, while loops, and loop control in Bash to write scripts that repeat actions across files, lists, and system output automatically.
Bash Functions
Learn how to write reusable Bash functions to organize your scripts, avoid repetition, and build modular security tools that are easier to read and maintain.
Practical Script — Automate a Simple Task
Put everything together — variables, conditions, loops, and functions — to build a complete security automation script from scratch.
Finalization
Mini Project — Write a Basic Audit Script
Apply everything from Phase 2 to build a complete Bash security scanner independently — from scratch, without step-by-step guidance.
Phase 2 Recap
Review the key ideas from Phase 2, test your command-line instincts, and confirm what you can now do with the terminal and Bash.
Need help?
You are not learning alone
Connect your Discord account to ask questions and access the private support channels for members.
