A school 42 study project to create a limited Unix shell that functions like Bash. Focus areas: parsing command line input, process forking, I/O redirection and basic signal handling.
makeAvailable targets:
make— Build the executablemake clean— Remove object filesmake fclean— Remove object files and binarymake re— Rebuild from scratch
./minishellOnce running, the shell accepts standard Unix commands and supports:
- Executing commands from
PATH(ls, cat, grep, etc.) - Pipes (
|) - Redirections (
<,>,>>,<<) - Environment variable expansion (
$VAR) - Built-ins:
echo,cd,pwd,export,unset,env,exit - Signal handling (Ctrl-C, Ctrl-D, Ctrl-\)
- Quote handling (single and double quotes)
Educational project. Not licensed for reuse.
Published for reference only — do not submit as your own work.
Note: Commit history has been removed for privacy. The project was developed across 58 days over 11 weeks (Aug–Nov 2025).