add README.md
This commit is contained in:
parent
89dae11aa1
commit
c34c1b1997
1 changed files with 37 additions and 0 deletions
37
README.md
Normal file
37
README.md
Normal 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
|
||||
```
|
Loading…
Add table
Reference in a new issue