Systems Programming
Minishell — Bash-like Shell in C
A custom Unix shell built from scratch in C that perfectly replicates core Bash behaviors: command execution, piping, redirections, and signal handling, with strict memory safety.
Technologies and skills
- C
- Linux
- POSIX
- Shell Scripting

Context
Project goal
To truly understand how operating systems manage resources, I rebuilt one of their most complex tools: a shell. The goal was to master low-level memory management, process control, and system calls without relying on modern frameworks.
Under the Hood
I engineered a robust command parser that handles complex quoting rules, environment variables, and input/output redirections. It manages process creation using fork and exec, handles inter-process communication via pipes, and intercepts system signals (Ctrl+C, Ctrl+D) gracefully.
What I Mastered
Strict discipline in C programming. I gained a deep understanding of the process lifecycle, file descriptors, memory allocation, and POSIX standards. I learned to write highly performant, leak-free code under strict constraints.
How this helps in the real world
Why does a web developer need C and OS-level knowledge? Mastering memory, I/O, and Linux commands makes me a stronger backend engineer. It allows me to write highly optimized Node.js code, debug complex production memory leaks, and automate server deployments with Bash scripts.
Evidence of the work
Skills demonstrated
- Command execution with pipelines and I/O redirections
- Environment variable handling aligned with Bash semantics
- Signal handling (SIGINT, SIGQUIT, EOF) for interactive use
- Memory-safe C code with strict error handling discipline
Looking for a developer who can solve problems below the surface?
These projects show how I reason, build and test. I am available for new projects, as a one-off engagement or in collaboration with your team.