Skip to content

The objective of this project is to create a simple shell, learning a lot about processes and file descriptors.

Notifications You must be signed in to change notification settings

ElHuaco/minishell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Minishell

ℹ️ About The Project

42 Project

We were asked to make our own shell, replicating basic functionalities. Everything was coded in C, respecting Norminette code convention.

Subject

Architecture

  • Tokenize: builds the Command Table (simple commands, IO files) from command line input. Handles input syntax errors.
  • Executor: redirects IO and creates pipes if needed. Forks if launching an executable. Handles built-in commands errors.

Bash Peculiarities

  • We don't have a MULTIOS option enabled by default, as is the case in zsh.

Allowed Functions

Expand

(back to top)

🏃 Quick Start

Important

  • Project has only been tested and runned on macOS systems

Installation

  • Clone the repo
    git clone https://github.com/its-a-maxi/minishell.git

(back to top)

⌨️ Usage

  • Compile
  make
  • Run minishell
  ./minishell

(back to top)

📫 Contact

Maximo Monroy - monroy.vds@gmail.com

Alejandro León - https://github.com/ElHuaco

Project Link: https://github.com/its-a-maxi/minishell

(back to top)

🥇 Acknowledgments

(back to top)

About

The objective of this project is to create a simple shell, learning a lot about processes and file descriptors.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published