Course

Learn Bash / Shell

The language of the terminal, mastered safely: pipes, quoting, exit codes, traps and real automation: until your scripts are tools colleagues trust in production.

This is the whole Bash / Shell course in the LoWisa phone app, level by level: 13 levels, 38 lessons and 114 ideas, each taught and then checked. The first level, Start Here: Speaking to the Operating System, is free.

Updated 2026-11-25

What you can do as you go

Where you areWhat you can do
Start Here: Level 4You command the terminal: processes, pipes, quoting and exit codes are instruments, not incantations.
Levels 5–8You write real scripts: control flow, functions, text processing with grep/sed/awk, and process management.
Levels 9–11You build reliable, secure automation: traps, idempotency, cron, ssh and injection-proof handling of input.
Levels 12–13You lint, test and maintain production scripts: and know precisely when shell is the wrong tool.
Project ladderFive desktop app projects from a safe scaffolder to a portable toolkit: the automation colleagues actually trust.

The Bash / Shell course, level by level

LevelLessons in it
Start Here: Speaking to the Operating SystemShells, Commands and Processes; Interactive Shell vs Script
Level 1: Shell FoundationsCommands and Arguments; Files and Directories; Command Exit Status
Level 2: Variables & ExpansionShell Variables; Quoting; Parameter and Command Expansion
Level 3: Pipes & RedirectionStandard Input and Output; Pipes; File Descriptors and Redirection
Level 4: Control FlowConditions; Loops; Case Statements
Level 5: Functions & ScriptsFunctions; Arguments and Parameters; Organising Reusable Shell Scripts
Level 6: Text & Data ProcessingPattern Matching; Grep, Sed and Awk Integration; Structured Command Pipelines
Level 7: Processes & JobsProcesses and Jobs; Signals; Background and Foreground Work
Level 8: Reliable Shell ProgrammingExit Codes; Error Handling and Traps; Writing Safe Scripts
Level 9: AutomationFilesystem Automation; Remote and Scheduled Work; CI/CD and Operations Patterns
Level 10: SecurityInjection and Quoting Risks; Secrets and Privileges; Secure Shell Automation
Level 11: Portability & QualityBash vs POSIX Shell; Linting and Testing; Maintainable Production Scripts
Level 12: Shell MasteryComplex Process Composition; Debugging Shell Behaviour; Replacing or Retaining Shell Appropriately

Every level ends with a checkpoint and flashcards on what it taught.

Start Here: Speaking to the Operating System: what the free first level teaches

Shells, Commands and Processes

  • What a shell is. A shell reads your line, starts programs and wires their inputs and outputs: a REPL for the operating system.
  • Commands are processes. Every command runs as a process: the shell forks, executes and waits, then reads its exit status.
  • PATH. The shell finds programs by walking PATH: which ls answers the eternal “why is the wrong one running”.

Interactive Shell vs Script

  • Scripts. A script is shell commands in a file: the shebang line names which interpreter runs it.
  • The shebang. The shebang: #!/usr/bin/env bash: makes a script an executable program in its own right.
  • Same language, higher stakes. Interactive mistakes you see; script mistakes repeat at 3am: scripts deserve engineering discipline.

Projects you build

The course has 5 projects, built in the LoWisa desktop app, each in the role of someone who does this work.

RoleProjectThe situation
Automation EngineerProject Scaffolder ScriptYour team starts projects with twenty manual steps. Build the scaffolder: one script that creates the structure, git repo and config: idempotent, safe, and pleasant to use.
DevOps EngineerLog Triage PipelineOps drops you a directory of rotating service logs. Build the triage kit: pipelines that surface error spikes, top offenders and timelines: grep, sed, awk and sort doing their one jobs.
Shell EngineerRescue a Dangerous Deploy ScriptYou inherit the deploy script everyone fears: unquoted variables, a near-miss rm -rf, silent failures, secrets on the command line. Make it safe without changing what it deploys.
Senior Platform EngineerBackup & Restore SuiteA small company needs real backups: nightly cron runs, rotation, integrity checks, and a tested restore path: because a backup that never restored is a rumour.
Shell SpecialistPortable CLI ToolkitPackage your accumulated shell craft: a small toolkit of five production-grade utilities (retry, parallel, watchdir, humanise, notify): POSIX-portable core, tested, versioned, documented.

How you learn it

  • One idea at a time. Each lesson teaches a few ideas and asks you about each before it moves on.
  • A checkpoint and flashcards at the end of every level. See Checkpoints and flashcards.
  • Games on what you have learned. See Revision games.
  • On your phone. The app is on Google Play and the App Store. See Getting started.

Frequently asked questions

How many levels does the LoWisa Bash / Shell course have?

13 levels with 38 lessons, from Start Here: Speaking to the Operating System to Level 12: Shell Mastery.

Is the Bash / Shell course free?

The first level, Start Here: Speaking to the Operating System, is free, with its checkpoint and flashcards. A plan opens the rest; see Plans and credits in the Help centre.

Where does the Bash / Shell course start?

With Start Here: Speaking to the Operating System. Its first lesson is "Shells, Commands and Processes".

Start Bash / Shell with the free first level

LoWisa is on Google Play and the App Store.