Bash · free, forever
The language your agent runs the most and understands the least.
Free Bash and shell tutorials, plus how to write scripts and agent hooks that fail safely.
Three tracks
Most tutorial sites stop at track one. Track one is the part your assistant already knows.
Track 01 · 20 lessons
Foundations
The syntax and the mental model. Short, runnable, no fluff.
Track 02 · 3 lessons
AI-Native Bash
Configuring agents, harnesses and feedback loops for this language. Updated as the tooling moves.
Track 03 · 4 lessons
Review & Verify
How generated code fails in this language, and the checks that catch it before your users do.
Start here
The pages people actually come back to.
AI-Native
Shell scripts as agent guardrails
Your agent runs more shell than anything else, and shell is the one place a mistake is not recoverable. Here is how to write the scripts that keep it honest.
AI-Native
Writing an AGENTS.md for shell-heavy projects
The shortest useful instructions file on this network — four lines of script header, a shellcheck rule, and one sentence about when to stop writing shell at all.
AI-Native
Tracking what your coding agent costs you
Your agent already writes a complete record of every session to disk. Twenty lines of shell turns it into a spend report, and one hook keeps it honest.
Foundations
Short, runnable, and honest about what you can safely skim.
Hello, World!
The tutorial discusses shell programming in general with focus on Bash (“Bourne Again Shell”) shell as the main shell interpreter.
Variables
Shell variables are created once they are assigned a value. A variable can contain a number, a character or a string of characters.
Passing Arguments to the Script
Arguments can be passed to the script when it is executed, by writing them as a space-delimited list following the script file name.
Arrays
An array can hold several values under one name. Array naming is the same as variables naming.
Basic Operators
Arithmetic Operators Simple arithmetics on variables can be done using the arithmetic expression: $((expression)) The basic operators are: a + b addition (a plus b) a - b substraction (a minus b) a b multiplication (a times b) a / b division (integer) (a divided by b) a % b modulo (the integer remainder of a divided by b) a b exponentiation (a to the power of b)
Basic String Operations
The shell allows some common string operations which can be very useful for script writing.
Get the Bash agent pack
A battle-tested AGENTS.md, the review checklist, and the failure-mode cheat sheet for Bash. One email, then occasional updates when the tooling shifts. No course pitch.
AGENTS.md now — no email needed.