A POSIX-compliant Unix shell written in C, implemented as part of the Epitech curriculum.
- Command execution via
PATHresolution - Pipes (
|) — chain multiple commands - Redirections (
>,<,>>,2>) - Separators (
;,&&,||) - Builtins:
cd,echo,env,setenv,unsetenv,exit - Custom prompt display
- Input parsing and argument handling
make
./42shmake re # clean rebuild
make fclean # remove all binariessrc/
├── builtins/ # built-in commands
├── pipes/ # pipe handling
├── redirects/ # I/O redirections
├── separators/ # ; && || handling
├── prompt/ # prompt rendering
└── get_arg/ # argument parsing
includes/ # headers
lib/ # custom C library
- Maxence Canler