← All projects
Shell Implementation2023Solo Engineer

Minishell

A minimal Unix shell implementing command parsing, execution, pipes, and built-in commands.

CUnix

01 · Problem

What made this interesting

Implementing a shell requires parsing complex command syntax with pipes and redirections, managing child processes, and handling signals — all while maintaining POSIX compliance.

02 · Approach

How I solved it

Built a token-based parser for command syntax, implemented pipe-based inter-process communication with fork/exec, and handled built-in commands and signal management within the shell process.

03 · Result

What came out of it

A functional Unix shell supporting piped commands, environment variable expansion, signal handling, and built-in utilities.

04 · Highlights

Key technical details

Process management with fork/exec
Pipe-based inter-process communication
Command parsing with redirections
Signal handling

Next case study

Cub3D

A raycasting-based 3D graphics engine inspired by Wolfenstein 3D, built in C.