New Cohort Starts:

Donate
← Back to the skill map
Systems & Tooling/Systems & practice

Shell Scripting

4 micro-topics in Systems & Tooling, each with the evidence that proves you have it and the written reason behind every link. Before you start, it rests on 3 other domains. Downstream, it holds up 2 domains.

4 topics  ·  depth 6–9 of 16  ·  3 internal links  ·  3 in  ·  2 out

Before you start

Load-bearing links first. Each one says what in this domain rests on what outside it, and why.

Shell Configuration

1 link

load-bearing

Write and run a shell script rests on Configure PATH

Running a script by name requires PATH resolution.

Streams & Pipes

1 link

load-bearing

Write and run a shell script rests on Compose commands with pipes

A script is a saved pipeline plus control flow.

Processes & Signals

1 link

supporting

Handle exit codes and errors rests on Control jobs and signals

Exit codes are the signal side of process control.

What you will be able to do

In prerequisite order. Each idea names the artifact that closes it, the market demand that put it on the map, and what it stands on.

Depth 6  ·  procedural  ·  unassisted  ·  M01 §1.9

Write and run a shell script

Adds a shebang and makes a file executable

Evidence
Runs a script by name from anywhere
Market anchor
Shell scripting
Rests on
load-bearing

Compose commands with pipes · Streams & Pipes

A script is a saved pipeline plus control flow.

load-bearing

Configure PATH · Shell Configuration

Running a script by name requires PATH resolution.

Depth 7  ·  procedural  ·  unassisted  ·  M01 §1.9

Use variables and parameter expansion

Passes and defaults arguments in scripts

Evidence
Writes a script that takes arguments safely
Market anchor
Shell scripting
Rests on
load-bearing

Write and run a shell script

Variables parameterize a script that already runs.

Depth 8  ·  procedural  ·  unassisted  ·  M01 §1.9

Branch and loop in shell

Applies if, test, for and while

Evidence
Automates a repeated task with conditions
Market anchor
Shell scripting · automation
Rests on
load-bearing

Use variables and parameter expansion

Conditions and loops act on variables.

Depth 9  ·  conceptual  ·  unassisted  ·  M01 §1.9

Handle exit codes and errors

Checks status and fails loudly

Evidence
Makes a script stop on first failure with a useful message
Market anchor
Shell scripting · automation
Rests on
load-bearing

Branch and loop in shell

Error handling requires the branches that detect the error.

supporting

Control jobs and signals · Processes & Signals

Exit codes are the signal side of process control.

What rests on this domain

Everything downstream that names an idea here as a prerequisite, grouped by where it lives.

Delivery & CI/CD

1 link

load-bearing

Containerize an application rests on Write and run a shell script

A Dockerfile is a build script.

Harness Engineering

1 link

supporting

Distinguish a harness from an execution layer rests on Handle exit codes and errors

Exit codes are the simplest pass-fail signal a harness reads.

Retool. Retrain. Relaunch.

375 ideas. 17 weeks. No tuition, ever.

Vets Who Code is a veteran-run 501(c)(3). The accelerator is free, remote, and we don’t take a share of your first paycheck.

Free · Remote · 17 weeks · EIN 86-2122804