"Building a Shell". A good intro into how a shell works. If you haven't done it, it's simpler than you think.
https://healeycodes.com/building-a-shell
#unix #programming
I built a tiny shell in C to learn what fork, execvp, and dup2 are doing under the hood.