Writing a tiny shell in C โ Part 1: the loop that runs your programs
This is Part 1 of a series where we build a small shell in C from scratch. By the end of this post, you'll have a working shell that can run any program on your system. Later parts add builtins, redirection, chaining, and pipelines.