Hugothms / minishell

42 Project - A simple shell like bash or zsh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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)

About

42 Project - A simple shell like bash or zsh

License:GNU General Public License v3.0


Languages

Language:C 96.2%Language:Makefile 3.8%