Compare commits

...

3 commits
TRY1 ... main

Author SHA1 Message Date
164552cf0c Update README.md 2025-07-31 15:56:26 +00:00
mcolonna
c34c1b1997 add README.md 2025-07-30 20:10:02 +02:00
mcolonna
89dae11aa1 fix: link readline library 2025-07-30 17:28:45 +02:00
2 changed files with 38 additions and 1 deletions

View file

@ -14,7 +14,7 @@ LIBRARIES = libtf libft
# .a files to include
LIBRARIES_FILES = libtf/libtf.a libft/libft.a
# to use with the flags -L and -l
LIBRARIES_LINK =
LIBRARIES_LINK = readline
# to use with the flag -l
LINK =
# flags to add to the compiler

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 [BgNounours](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
```