Minishell is a simplified Unix shell implemented in C. It mimics the behavior of the Bash shell by interpreting and executing user commands. This project is a core part of the 42 School curriculum and aims to deepen understanding of process control, signal handling, parsing, and system calls in Unix-like operating systems.
The shell supports:
- Built-in commands:
cd,echo,env,exit,export,pwd, andunset - Input/output redirection (
>,>>,<) - Pipes (
|) and multiple command execution - Environment variable expansion
- Signal handling for
Ctrl+CandCtrl+\ - Execution of external programs using
$PATH
Clone the repository and compile the project using the provided Makefile:
make./minishell