Bash
A taught course in the shell, from first command to production script — read here, typed in your own terminal.
What the course covers
- 1. Foundations — What a shell is, where Bash came from, and how to read any command.
- 2. Filesystem Navigation & File Operations — Move around a filesystem, and create, copy, move and delete without regret.
- 3. Viewing & Inspecting Files — Read a file the right way for its size, and find out what it actually is.
- 4. I/O Redirection, Pipes & Filters — Wire commands together: the three streams, redirection, pipes and filters.
- 5. Permissions, Ownership & Processes — Who may do what to a file, and what the machine is running right now.
- 6. Variables, Expansion & Quoting — Quoting, expansion and word-splitting -- where most real Bash bugs live.
- 7. Shell Scripting Fundamentals — Turn a sequence of commands into a script that takes arguments and runs.
- 8. Conditionals & Test Constructs — Ask questions properly: test constructs, exit codes and case.
- 9. Loops & Iteration — Repeat work safely over files, lines and lists.
- 10. Functions & Modular Scripting — Give a block of script a name, arguments and a scope of its own.
- 11. Arrays & Associative Arrays — Hold many values at once, by position and by key.
- 12. Text-Processing Power Tools (grep, sed, awk) — grep, sed and awk -- finding, editing and reporting on text at scale.
- 13. Error Handling, Debugging & Robustness — Make a script fail safely, say why, and clean up after itself.
- 14. Job Control, Scheduling & Automation — Run work in the background, and on a schedule, without watching it.
- 15. Advanced Topics (Subshells, Process Substitution, Signals) — Subshells, process substitution, signals and the things that look like magic.
- 16. Best Practices, Security & Capstone — Style, security and a capstone that puts all sixteen modules together.
- 17. Linux Administration: First-Day Tickets — Work the tickets a new Linux administrator is handed, on a server that is marked on the state you leave it in.