Skip to content
← Johan Idler

minishell.

C · Unix system calls · Process management

Minishell is a Unix shell built from scratch by a team of two at 42 Tokyo. It implements a focused subset of Bash, covering the complete path from raw input and parsing to process execution.

It supports arbitrary pipe chains, heredoc input, environment-variable expansion including $? exit codes, and correct handling of single and double quotes.

Signal behavior follows Bash conventions: Ctrl+C interrupts the current process, Ctrl+D exits cleanly, and Ctrl+\ is silenced in interactive mode. Child processes receive and handle signals independently.