add README.md

This commit is contained in:
mcolonna 2025-07-30 19:52:57 +02:00
parent 89dae11aa1
commit c34c1b1997

37
README.md Normal file
View file

@ -0,0 +1,37 @@
# minishell
the result of a group project at 42 school, made by me and [Joris Schaft](https://github.com/BgNounours).
it's a very basic shell like sh or bash. it is not POSIX.
it supports:
- `>`, `<`, `>>`, `<<` redirections
- `|` pipes
- environment variables and $?
- some built-in commands
## compile and run
this project is for linux (it may also work on macOS i have no idea).
1. in your terminal, run `make -v`.
if you have a `command not found` error or equivalent, you will need to install `make`. on ubuntu / debian, run:
```sh
$ sudo apt install make
```
2. clone the repository and cd inside it:
```sh
$ git clone https://gitea.zaclys.com/frzysk/42_minishell
$ cd 42_minishell
```
3. build:
```sh
$ make
```
4. run:
```
$ ./minishell
```