Bash

A taught course in the shell, from first command to production script — read here, typed in your own terminal.

About 36 hours · 17 modules · 291 labs · certificate on completion · Scripting and automation

For: analyst, administrator, engineer

Skills: bash, linux-administration, shell-scripting

What the course covers

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

Free with an account.

Start for free