whymami / MiniShell

Minishell is a project developed as part of the curriculum at 42 School. It aims to deepen understanding of process management and shell functionality.
14 stars 2 forks source link
42 born2code ecole42 minishell minishell42

Minishell

As beautiful as a shell

Overview

Minishell is a project designed to create a simple, custom shell in C, closely mimicking the functionality of Bash. The project focuses on understanding processes, file descriptors, and various shell operations. This README provides a detailed guide on the structure, functionality, and usage of the Minishell project.

Table of Contents

  1. Introduction
  2. Features
  3. Installation
  4. Usage
  5. Built-in Commands
  6. Acknowledgments

Introduction

The existence of shells is linked to the very existence of IT. Initially, developers used aligned 1/0 switches to communicate with computers, which was quite cumbersome. The invention of shells allowed interactive command-line communication in a language closer to human language. With Minishell, we revisit the fundamental problems faced before modern GUIs and sophisticated shells like Bash.

Features

Minishell includes the following features:

Installation

To install and run Minishell, follow these steps:

  1. Clone the Repository

    git clone <repository-url>
    cd minishell
  2. Build the Project

    make
  3. Run Minishell

    ./minishell

Usage

Once Minishell is running, you can use it similarly to Bash:

Built-in Commands

Minishell implements several built-in commands: