Script House
Command Line Hacker
CLH-001 of 015

Introduction to the Hacker CLI

Think like an investigator. Work like a hacker. Master the command line.

Why Command Line?

Every serious security professional, penetration tester, and ethical hacker shares one thing in common: mastery of the command line interface (CLI). While GUIs are convenient, the CLI gives you power, precision, and access to capabilities that no graphical interface can match.

This isn't your typical "here's how to create a file" Linux course. The Command Line Hacker path teaches you to think like an investigator, approach systems like a security analyst, and work with real artifacts that professionals encounter in the field.

The Hacker Mindset

CLI vs GUI: The Power Difference

Task GUI Approach CLI Approach
Find files modified today Open file manager, sort by date, scroll... find . -mtime 0
Search 10,000 log entries Open each file, Ctrl+F, repeat... grep "ERROR" *.log
Rename 500 files Click, rename, click, rename... (hours) for f in *; do mv "$f" "${f%.txt}.bak"; done
Check running processes Open task manager, scan visually... ps aux | grep suspicious

Your First Commands

Let's start with the essentials. Open your terminal and try these:

user@kali:~$ whoami
user

user@kali:~$ pwd
/home/user

user@kali:~$ ls -la
total 32
drwxr-xr-x 4 user user 4096 Dec 25 10:00 .
drwxr-xr-x 3 root root 4096 Dec 20 08:00 ..
-rw-r--r-- 1 user user 220 Dec 20 08:00 .bash_logout
-rw-r--r-- 1 user user 3526 Dec 20 08:00 .bashrc
drwxr-xr-x 2 user user 4096 Dec 25 09:00 Documents

whoami

Shows your current username. Essential for knowing what privileges you have.

pwd

Print Working Directory — shows exactly where you are in the filesystem.

ls -la

List ALL files (including hidden) with details. The -a shows hidden files, -l shows permissions.

What You'll Master

The Command Line Hacker path takes you through 15 modules of increasing complexity:

Investigation Skills

Analyze real packet captures (breach.pcap), hunt for hidden codes in files, spot anomalous processes.

Log Forensics

Parse through megabytes of real Linux and application logs to find security events.

Database Reconnaissance

Query a real MySQL database to extract evidence and understand data structures.

Automation & Scripting

Build shell scripts that automate repetitive tasks and create monitoring tools.

LAB: First Commands Sandbox

You've just connected to your first Linux system. Explore the environment using basic commands. This is your sandbox — experiment freely!

Find out who you are logged in as
Discover your current location in the filesystem
List all files including hidden ones
Check your user ID and group memberships
sandbox-shell
Welcome to the Command Line Sandbox! ===================================== You have shell access to a Linux system. Type 'help' to see available commands. Hint: Start with 'whoami' to see who you're logged in as.
hacker@sandbox:~$
SANDBOX COMPLETE!

You've mastered the essential first commands!

Skills unlocked: System identification, filesystem navigation, user context awareness.

Ready to Begin Your Journey?

Complete this introduction to unlock CLI Recruit status.

Completing CLH-001 to CLH-003 earns: CLI Recruit