aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 15688e8d81b5b8dea4e6c66925fb79f85cd6ae34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Minishell
A partial reimplementation of bash from scratch created at 42 Heilbronn

## Features
- Command history
- Pipes
- File redirections and heredoc
- Environment variables
- Access to executables in path (`ls`, `cat`, `grep`, ...)
- Complex string handling
- Keyboard interupts (Ctrl-D, Ctrl-C, Ctrl-\\)
- Shell nesting
- Builtin commands
  - echo
  - export
  - unset
  - exit
  - cd
  - env
  - pwd

## Dependencies
- gcc
- GNU Make
- readline
## How to run this
```bash
# Clone the repo
git clone https://github.com/dkaisr/minishell.git
cd minishell
make
./minishell
```