Minishell is a simple Unix shell implementation designed for educational purposes. It allows users to execute commands, manage processes, and handle basic shell functionalities.
- Execute shell commands
- Support for input and output redirection
- Pipe support between commands
- Environment variable management
- Built-in commands (cd, exit, echo, export, unset, env, pwd)
- Signal handling
To build and run Minishell, follow these steps:
- if want to test without reviewing the code try with docker:
docker run -it zelbouz/minishell
- Clone the repository:
git clone https://github.com/zakariaelbouzkri/minishell.git cd minishell
You can build the project locally or use Docker.
To build the project locally, run:
make
./minishell
To build the project using Docker:
-
Build the Docker image:
docker build -t minishell .
-
Run the container:
docker run -it minishell