/minishell

recode a shell

Primary LanguageC

Minishell

The objective of this project is to recode a shell like Bash. A shell is the interface between the user and the computer core. We recoded this project in C. I did the execution part while Mouslim did the parsing, We also splitted differents tasks such as the builtins, the expand, the prompt and the tokenisation.

Demo

demo.mp4

Features

  • Basic command-line interpreter

  • Handling of built-in commands (cd, echo, exit, etc.)

  • Process manipulation using fork and exec

  • Input/output redirection and pipe handling

  • Signal handling (Ctrl+C, Ctrl+D, etc.)

  • Expansion of environment variables

  • Here Doc

  • Tokenisation

Installation

  make
  ./minishell