The Minishell project is about building a simplified Unix shell, focusing on basic command execution, process management, and input/output handling to simulate core shell functionalities in a minimalistic style. 🚀
# Clone the repository
git clone https://github.com/Lilien86/42-minishell.git
# Navigate to the project directory
cd minishell
# Build the project using Make
make
# Run minishell and enjoy (:
./minishell
- Executes commands from an absolute, relative, or environment PATH like
/bin/ls
orls
. - Supports single and double quotes.
- Redirections and pipes (
>
,>>
,<<
,<
,|
). - Handles environment variables (
$HOME
) and the return code ($?
). - Ctrl-C, Ctrl-, and Ctrl-D are implemented to handle interrupts and exits.
- Built-in functions:
echo
,pwd
,cd
,env
,export
,unset
, andexit
. - Using all commands of the original shell.
- Minishell: Building a mini-bash
- What is the Pipe is C
- Handling files descriptors
- Understanding signals
- I was responsible for the execution, redirection, multi pipes, here doc, and handleing files descriptor.
- Yvann took care of the parsing, tokenise, signals and builtins.