Chapter Topics#
The chapters progress from Linux foundations to Bash programming, reliable automation, and authorized cybersecurity workflows. This table describes the curriculum, including topics whose draft sections are still being developed. Preview, Lab, Homework, and Project activities accompany each chapter.
Chapter |
Topics |
|---|---|
Terminals and shells; Unix and Linux history and design; terminal navigation; kernel, shell, and processes; filesystem hierarchy; authorized lab boundaries. |
|
Absolute and relative paths; directory navigation; file creation, copying, moving, and deletion; attributes and links; hidden files; configuration files; project directories. |
|
Users and groups; privileges and sudo; ownership; permission symbols; chmod and chown; umask; default permissions; least privilege and risky access. |
|
The Unix file model; viewing and inspecting data; standard input, output, and error; basic pipes; basic redirection; composing inspection commands. |
|
Command structure and arguments; quoting and escaping; introductory variables; word splitting and globbing; safe argument construction; POSIX and Bash; shebangs; creating and executing a script; executable permissions; exit status. |
|
Variables and scope; environment variables; PATH; positional parameters; command substitution; parameter expansion; arithmetic and strings; indexed and associative arrays. |
|
Arithmetic operators; comparisons; logical operators; string and file tests; conditional expressions; exit status in tests; safe preflight checks. |
|
if, elif, else, and case; for, while, and until loops; break and continue; read; script arguments; argument validation; getopts and script interfaces. |
|
Function definition and invocation; local and global scope; return status; reusable libraries; modular script organization. |
|
Standard streams; file descriptors; advanced redirection; pipelines and pipeline status; process substitution; robust stream handling. |
|
Searching, filtering, and parsing; data transformation; regular expressions; grep, sed, and awk; JSON processing with jq. |
|
Log generation and inspection; reports; here-documents and here-strings; evidence files; timestamps; hashes and integrity verification. |
|
Exit codes and error propagation; shell options; traps; shopt and subshells; input validation; temporary files and cleanup; dependency checks; defensive scripting; logging and error redirection. |
|
Process inspection; foreground and background execution; job control; disk and memory monitoring; resource anomalies. |
|
Package awareness; service lifecycle; systemctl; journalctl; service units and persistence; authorized service administration. |
|
cron and at; scheduled jobs; long-running tasks; batch processing; parallel execution with xargs; reliable automation. |
|
ping, curl, and wget; secure transfer with scp and rsync; remote execution with SSH; network automation and monitoring. |
|
Maintenance; file and database backups; archives; recovery; restore testing; verification of recovered data. |
|
Permission audits; account and SSH checks; secrets and integrity checks; secure configuration; repeatable audit reports. |
|
Authorized host triage; log-review pipelines; indicators and inventory; incident reports; applying the host audit toolkit. |
Complete VM onboarding in Appendix H: Tooling before VM-based assignments. Keep the book and terminal tiled side by side. Appendix C provides the detailed POSIX portability reference; Appendix G organizes the host audit toolkit capstone.