Lessons
An introduction to writing Bash
Bash · Introductory. Ten lessons. Open-book quizzes. Lesson 1 free.
10 lessons · The Host · Lesson 1 free
Pass all ten lessons for the certificate. Sample · Claim

Lesson 1 · On the house
echo and the prompt
Print text in the shell.

Lesson 2
Variables
name=value and $name.

Lesson 3
Arguments $1 and $@
Positional parameters.

Lesson 4
exit status $?
Success is zero.

Lesson 5
if and test
Branches in Bash.

Lesson 6
for loops
Iterate words.

Lesson 7
pipes |
Connect stdout to stdin.

Lesson 8
redirects
> >> 2> and <.

Lesson 9
chmod +x and scripts
Runnable files.

Lesson 10
A small script
Args, if, and echo.
Sample certificate
Certificate of completion
Sign in to claim your certificate of completion.
Certificate
Finish all ten lessons, then sign in
Pass every lesson on this device (quizzes and checks). Then sign in or create an account to type your name and download the JPG.