HackPath
BootcampCoursesRoadmapPracticePricing
Log inStart learning
Back to Courses
CourseMembers only

Terminal Mastery

Master the command line from first principles: learn what a shell is, how commands execute, and how to work efficiently and safely.

This course is being improved. Some lessons will change or grow in the coming weeks.

15h 39m54 lessons0/54 completed
Start free lessonUnlock full access

1 free lesson to get started, then 53 member lessons with exercises, scenarios and solutions.

Your roadmap

Lessons in this course

Follow the lessons in order and build each skill on the previous one.

0/ 54 completed
Chapter 01

Foundations

Lesson 01

What Is a Shell?

Distinguish terminal, shell and kernel; read supplied command results without treating SHELL as proof of the active interpreter.

12 minFreeOpen
Lesson 02

CLI vs GUI — Two ways to interact with a computer

Members only
Lesson 03

Move around — cd, pwd, and ls

Members only
Lesson 04

Create, copy, move, delete

Members only
Lesson 05

Linux Filesystem Tree — Everything Is a File

Members only
Lesson 06

What Is Bash?

Members only
Lesson 07

Popular Shells — Bash, Zsh, Fish, and sh

Members only
Lesson 08

Completion and Keyboard Shortcuts — Type Less, Do More

Members only
Lesson 09

Finding Files — find and locate

Members only
Lesson 10

Configure Bash — Your working environment

Members only
Chapter 02

Linux Basics

Lesson 01

What is scripting?

Members only
Lesson 02

Linux Permissions — Read, Modify, and Understand Access Rights

Members only
Lesson 03

stdin, stdout and stderr — The Three Data Streams

Members only
Lesson 04

Redirect output — > and >>

Members only
Lesson 05

Redirect input — <

Members only
Lesson 06

Pipes — Connecting Commands Together

Members only
Lesson 07

Redirect stderr — Handling errors in your pipelines

Members only
Lesson 08

Advanced pipelines and recap

Members only
Chapter 03

Streams and Text Processing

Lesson 01

grep — Filter and Search in Text

Members only
Lesson 02

sed — Transform text on the fly

Members only
Lesson 03

awk — Processing Structured Data

Members only
Lesson 04

sort, uniq, and wc — Sort, deduplicate, and count

Members only
Lesson 05

cut, paste and join — Working with columns

Members only
Lesson 06

tr — Transforming Characters

Members only
Chapter 04

Text Editors

Lesson 01

Choosing your editor — nano, vim, and the others

Members only
Lesson 02

nano — The Accessible Editor

Members only
Lesson 03

vim — Understanding Modes

Members only
Lesson 04

vim — Movements, Operators, and Search

Members only
Lesson 05

vim — Registers, Macros, and Windows

Members only
Lesson 06

Configure your editor — .vimrc and .nanorc

Members only
Chapter 05

Scripting Bash

Lesson 01

Variables and Types in Bash

Members only
Lesson 02

Operators and Arithmetic in Bash

Members only
Lesson 03

Conditions — if, elif, else and case

Members only
Lesson 04

Loops — for, while, and until

Members only
Lesson 05

Functions — Organize and reuse code

Members only
Lesson 06

Debugging and script robustness

Members only
Chapter 06

Processes and Scheduling

Lesson 01

Understanding Linux processes

Members only
Lesson 02

ps and top — Observing processes

Members only
Lesson 03

Job control — fg, bg, nohup, and screen

Members only
Lesson 04

cron and at — Scheduling tasks

Members only
Lesson 05

kill, nice and renice — Control Priorities

Members only
Lesson 06

lsof, fuser, and Summary — Inspect Resources

Members only
Chapter 07

Networking

Lesson 01

Ping, traceroute and network diagnostics

Members only
Lesson 02

curl and wget — Interacting with the web

Members only
Lesson 03

SSH — Secure remote connections

Members only
Lesson 04

rsync — Smart file synchronization

Members only
Lesson 05

ss, netstat, and nmap — Inspect the network

Members only
Lesson 06

nc, tcpdump, and Network Summary

Members only
Chapter 08

System Administration

Lesson 01

apt and yum — Package Management

Members only
Lesson 02

tar, gzip and zip — Managing Archives

Members only
Lesson 03

df, du, mount and lsblk — Disks and storage

Members only
Lesson 04

systemd and journalctl — Managing Services

Members only
Lesson 05

Advanced Users, Groups, and Permissions

Members only
Lesson 06

Final Synthesis — Your Reference Workflow

Members only