In this project, we will be creating a simple working version of bash. No thanks to this project, we'll be able to travel back in time and come back to problems people faced when Windows didn't exists.
- The program will constantly read input from the user.
- Tokenizing and parsing input given by the user and executes them.
- These are what we have to handle in our
minishell:
| Requirements | Description |
|---|---|
| A working history | saves all previous inputs given by the user |
| Executables | executes the right executables based on PATH using execve() |
| Built-ins | echo, pwd, export, unset, env, exit |
| ENV Expansion | '' and "" |
| Redirections | <, <<, >, >> |
| Piping | | |
| Signals | ctrl+D, ctrl+C, ctrl+\ |
- GNU make (v3.81)
- GCC (v4.2.1)
- lib32readline8
- Download/Clone this repository
git clone https://github.com/joekeroo/42-minishell.git minishellcdinto the root directory and runmake
cd minishell && makemake- compiles the program intominishellmake clean- removes all.ofilesmake fclean- clean and removesminishellmake re- fclean and recompiles
./minishell