A simple Unix shell implemented in C as part of the 42 School curriculum.
This project replicates the basic behavior of Bash, including execution, redirection, piping, and built-in commands. This project is developed as a team collaboration by Daria and Lara.
- Interactive prompt with history (readline)
- Built-in commands:
echo,cd,pwd,export,unset,env,exit
- Redirections:
- Input
<, Output>, Append>>, Heredoc<<
- Input
- Pipes (
|) between commands - Environment variable expansion (
$VAR,$?) - Signal handling (
Ctrl-C,Ctrl-D,Ctrl-\) - Command execution with
PATHresolution
make./minishell
minishell$ echo Hello World
Hello World
minishell$ ls | grep .c > out.txt
minishell$ exit