mtsh — Empty Shell — Minimal Teaching Shell
mtsh (pronounced like em tee shell) is a tiny, educational Unix-like shell written in C. It’s designed to be simple enough to understand line-by-line, while still being a functional interactive shell you can extend over time. It starts as a bare-bones REPL that can run external commands, and is designed to grow feature-by-feature as you learn. Every line of code is intended to be readable, hackable, and easily extended — making mtsh a hands-on guide to understanding how real shells work under the hood. ...