Build your own Shell
Craft a Unix-like interactive shell with pipelines and redirects.
intermediate
Parsing
Processes
Pipes
Signals
About this challenge
Understand how shells translate user input into running processes. You will implement a robust parser, support pipelines and redirections, and handle signals to deliver a surprisingly capable shell.
What you will build
- Interactive REPL with history
- Command parser with quoting and globbing
- Pipelines, I/O redirection, background jobs
What you will learn
- Tokenizer and parser construction
- Spawning and managing processes
- Signals, job control, and TTY basics
Getting started
There is no backend work wired yet. When enabled, you will be able to enroll, track progress, and earn badges for completing stages.
For now, explore the curriculum and prepare your environment.
- Skim all stages to understand the scope
- Decide your implementation language
- Set up a project with tests and formatter