pwn3d.es

Visual guide

Bash Forge

A tour of Bash Forge: the map of nine worlds, the editor with a real Ubuntu terminal and the report you get back when each script is validated.

9
worlds of Yggdrasil
90
lessons
6
Boss Fights
24.04
real Ubuntu in Docker
>_ pwn3d.esLEARNBash Forge
  1. 01 Map
  2. 02 Lesson

2 screens · 7 parts explained

The map of worlds

The curriculum is a journey through Yggdrasil: each world groups a block of Bash and unlocks once the previous one is done.

ᚠ BASH FORGEWorldsPracticeChallengesBoss Fightsᚱ 2 310 XP
  • IMidgardecho, paths, first script
  • IIVanaheimvariables and quoting
  • IIIAlfheimconditionals
  • IVJotunheimloops
  • VNidavellirfunctions
  • IXAsgardfinal projects

Forge rank

46ForgerApprentice → Forger → Master

Daily streak

CSS mock-up: a recreation of the interface to explain it, not the running tool. Hover a note to see its area.
  1. Nine worlds

    From Midgard (first contact) to Asgard (rotating backups, resource monitor). Greyed-out ones are still locked.

  2. Forge ranks

    XP from lessons, challenges and Boss Fights takes you from Apprentice to Master Forger.

  3. Daily streak

    Practising a little every day keeps the streak alive; it is designed to build a habit.

How it is used

  1. Enter Midgard

    First contact: echo, paths and your first script.

  2. Write and test

    Use the editor and real terminal until the script does what is asked.

  3. Validate

    The teaching report tells you what to fix.

  4. Fight the boss

    At the end of each block, a timed Boss Fight.

Key concepts

shebang
The first line (#!) that says which interpreter runs the script.
set -euo pipefail
Makes the script stop on errors, unset variables or pipeline failures.
ShellCheck
A static analyser that catches typical Bash mistakes.
Exit code
The number a program returns: 0 is success, anything else is an error.

Want to use it for real?

This guide explains each part of the interface. The full, always up-to-date tool lives on its official site and repository.