A shell implementation project developed as part of the 42 school curriculum. This project aims to create a simple shell, similar to bash, to understand the inner workings of command interpretation and execution.
git clone https://github.com/Chamuraii/minishell.git
cd minishell
makeTo run the program:
./minishell- Command line parsing and execution
- Built-in commands implementation
- Environment variable management
- Signal handling
- Redirection and pipes
- Command history
Bonus features (if implemented):
- Auto-completion
- Wildcard expansion
- Advanced line editing
Minishell typically implements the following built-in commands:
echo: Display a line of textcd: Change the current directorypwd: Print the current working directoryexport: Set environment variablesunset: Unset environment variablesenv: Display the environmentexit: Exit the shell
Usage examples:
echo Hello, World!
cd /path/to/directory
pwd
export MY_VAR=value
unset MY_VAR
env
exitThis project is part of the 42 school curriculum. While contributions are not expected, feel free to fork the project for your own learning and experimentation.
This project is licensed under the AGPLv3 License - see the LICENSE file for details.