Skip to content
DoingCamp CS

Make it comfy

Lesson style

Quick mode shows the key picture, a summary and the practice. Good for a refresher.

Theme
Font

Both fonts are designed to be easy to read. Some readers with dyslexia prefer Lexend.

Text size
Spacing
Animations

Lesson 4 of 16 · about 15 min

Shell scripting

Put shell commands in a file and you've written a script, a program that repeats your work with one command. Variables, loops and exit codes make scripts smart.

🔓 Unlock this lesson

This lesson is part of the DoingCamp Pass. Members get every lesson in every course, with all the interactive visuals, coding exercises and challenges.

In this lesson you'll learn:

  • Shell script
  • Exit code
  • && and ||

Free to try in F04 Tools of the Trade:

The first 3 lessons of every course are free, no account needed.