Skip to content

Latest commit

 

History

History
executable file
·
42 lines (27 loc) · 1.15 KB

File metadata and controls

executable file
·
42 lines (27 loc) · 1.15 KB

minishell

The objective of this project is to create a simple shell like bash or zsh

Minishell-gif

hthomas's 42 minishell Score

Usage

First clone the repository and the git submodules:

git clone --recurse-submodules git@github.com:Hugothms/minishell.git

Then make and run the executable:

make && ./minishell

Or, more conveniently:

make run

Features

✅ It supports:

  • all bash commands
  • ' and " like in bash
  • ; to separate the commands
  • | to link the output of a command on the input of another one
  • <, > and >> to manage redirections of a command
  • $ to replace by the assiociated environment variable
  • ctrl-C, ctrl-D and ctrl-\ have the same result as in bash

❌ It doesn't support:

  • multi lines commands
  • many other things 🤷🏻‍♂️

Collaborators

This project was developed in team with @Dicayne (Victor Moreau)