Skip to content

School project: create a shell working like bash.

Notifications You must be signed in to change notification settings

llefranc/42_minishell

Repository files navigation

minishell (@42Paris)

"As beautiful as a shell"

Alt text

About

Minishell is a project of the mandatory part of the cursus that I made with my friend Corentin Debraix. It's only made in C and the main goal was to create a shell working like bash. In this case we had to understand how processes, redirections, pipes, execve and bash builtins work. We also had to learn how bash was handling a command line (lexer / parser / exec).

This project was code for MACOS

Building and running the project

  1. Download/Clone this repo

     git clone https://github.com/lucaslefrancq/42_minishell.git
    
  2. cd into the root directory, and run make

     cd 42_minishell
     make
    
  3. run ./minishell without any argument.

Sources